|
std::string | typeStr () const |
| Type string. More...
|
|
unsigned int | typeId () const |
| Type id. More...
|
|
| MapMetadata () |
| Constructor.
|
|
| MapMetadata (const MapMetadata &rhs) |
| Copy constructor.
|
|
| ~MapMetadata () |
| Destructor.
|
|
MapMetadata & | operator= (const MapMetadata &other) |
| Assign operator.
|
|
virtual void | copy (Metadata *other) |
| copy value More...
|
|
virtual AtomsPtr< Metadata > | clone () const |
| clone object More...
|
|
virtual size_t | memSize () const |
| Memory size. More...
|
|
unsigned int | size () const |
| Map size. More...
|
|
bool | hasKey (const Key &key) const |
| Has key. More...
|
|
std::vector< Key > | getKeys () const |
| Get keys. More...
|
|
AtomsPtr< Metadata > | getEntry (const Key &key) |
| Get an entry. More...
|
|
AtomsPtr< const Metadata > | getEntry (const Key &key) const |
| Get an entry. More...
|
|
template<class T > |
AtomsPtr< T > | getTypedEntry (const Key &key) |
| Get a typed entry. More...
|
|
template<class T > |
AtomsPtr< const T > | getTypedEntry (const Key &key) const |
| Get a typed entry. More...
|
|
template<class T > |
T * | getTypedEntryRaw (const Key &key) |
| Get a typed entry raw pointer. More...
|
|
void | eraseEntry (const Key &key) |
| Remove an entry.
|
|
void | addEntry (const Key &key, AtomsPtr< Metadata > &data, bool cloneData=true) |
| Add an entry. More...
|
|
void | addEntry (const Key &key, const AtomsPtr< const Metadata > &data) |
| Add an entry. More...
|
|
void | addEntry (const Key &key, Metadata *data) |
| Add an entry. More...
|
|
void | insertEntry (const Key &key, AtomsPtr< Metadata > data) |
| Add an entry. More...
|
|
void | addEmptyEntry (const Key &key) |
| Add n empty entry.
|
|
void | clear () |
| Clear map. More...
|
|
valueType::iterator | begin () |
| Begin iteration.
|
|
valueType::iterator | end () |
| End iteration.
|
|
valueType::const_iterator | cbegin () const |
| Begin const iterator.
|
|
valueType::const_iterator | cend () const |
| End const iterator.
|
|
virtual void | hash (MurmurHash3 &hasher) const |
| Hash.
|
|
valueType & | data () |
|
const valueType & | data () const |
|
virtual void * | dataPtr () |
|
bool | serialise (Archive &outStream) const |
| Serialise.
|
|
bool | deserialise (Archive &inStream) |
| Deserialise.
|
|
void | toString (std::stringstream &ss) const |
| String conversion.
|
|
bool | serialiseCompressed (Archive &outStream) const |
| Serialise random access compressed archive.
|
|
bool | deserialiseCompressed (Archive &outStream) |
| Deserialise random access compressed archive.
|
|
bool | deserialiseKeys (Archive &outStream, const std::vector< std::string > &keys, bool append=false) |
| Deserialise only specific keys.
|
|
bool | deserialiseKeys (const std::string &filePath, const std::vector< std::string > &keys, bool append=false, bool multithread=false) |
|
| Metadata () |
| constructor
|
|
virtual | ~Metadata ()=0 |
| Virtual destructor.
|
|
virtual bool | setWithValuesAndWeights (const std::vector< AtomsPtr< Metadata >> &values, const std::vector< double > &weights) |
| Set with weighted values.
|
|
virtual bool | setWithValuesAndWeights (const std::vector< Metadata * > &values, const std::vector< double > &weights) |
|
virtual bool | isEqual (Metadata *right, double err=0.0) const |
| Equal function.
|
|
virtual bool | isGreater (Metadata *right) const |
|
virtual bool | isLess (Metadata *right) const |
|
virtual bool | isArray () const |
|
MapMetadata class.
A map container for mixed type of metadata