|
Atoms Crowd
4.1.0
|
10 #include <AtomsCore/Globals.h>
11 #include <AtomsCore/Metadata/Metadata.h>
27 typedef std::string Key;
29 typedef std::map<Key, AtomsPtr<Metadata> >
valueType;
72 virtual AtomsPtr<Metadata>
clone()
const;
113 AtomsPtr<const Metadata>
getEntry(
const Key& key)
const;
121 AtomsPtr<T> getTypedEntry(
const Key& key);
129 AtomsPtr<const T> getTypedEntry(
const Key& key)
const;
143 void addEntry(
const Key& key, AtomsPtr<Metadata>& data,
bool cloneData =
true);
151 void addEntry(
const Key& key,
const AtomsPtr<const Metadata>& data);
179 inline valueType::iterator begin();
182 inline valueType::iterator end();
185 inline valueType::const_iterator cbegin()
const;
188 inline valueType::const_iterator cend()
const;
224 bool deserialiseKeys(
const std::string& filePath,
const std::vector<std::string>& keys,
bool append =
false,
bool multithread =
false);
240 #include "MapMetadata.impl.h"
Archive class.
Definition: Serialiser.h:29
AtomsCore namespace.
Definition: AtomsMath.h:24