![]() |
Inviwo
0.9.10.1
Inviwo documentation
|
Holds metadata and access functionality for set/get. More...
#include <metadataowner.h>
Inheritance diagram for inviwo::MetaDataOwner:Public Member Functions | |
| MetaDataOwner (const MetaDataOwner &rhs)=default | |
| MetaDataOwner & | operator= (const MetaDataOwner &rhs)=default |
| void | copyMetaDataFrom (const MetaDataOwner &src) |
| void | copyMetaDataTo (MetaDataOwner &dst) |
| template<typename T > | |
| T * | createMetaData (const std::string &key) |
| template<typename T , typename U > | |
| void | setMetaData (const std::string &key, U value) |
| template<typename T > | |
| bool | unsetMetaData (const std::string &key) |
| unset, i.e. remove the metadata entry matching the given key and type More... | |
| template<typename T , typename U > | |
| U | getMetaData (const std::string &key, U val) const |
| template<typename T > | |
| T * | getMetaData (const std::string &key) |
| template<typename T > | |
| const T * | getMetaData (const std::string &key) const |
| MetaDataMap * | getMetaDataMap () |
| const MetaDataMap * | getMetaDataMap () const |
| template<typename T > | |
| bool | hasMetaData (const std::string &key) const |
| virtual void | serialize (Serializer &s) const |
| virtual void | deserialize (Deserializer &d) |
Protected Attributes | |
| MetaDataMap | metaData_ |
Holds metadata and access functionality for set/get.
MetaDataOwner is the base class for all the objects that want to own metadata.
| bool inviwo::MetaDataOwner::unsetMetaData | ( | const std::string & | key | ) |
unset, i.e. remove the metadata entry matching the given key and type
| key | key of the entry to be removed |