28 #ifndef __RTTR_METADATA_CONTAINER_H__
29 #define __RTTR_METADATA_CONTAINER_H__
35 #include <unordered_map>
51 variant get_metadata(
int key)
const;
52 variant get_metadata(
const std::string& key)
const;
54 void set_metadata(
int key,
const variant& value);
55 void set_metadata(
const std::string& key,
const variant& value);
58 typedef std::unordered_map<int, variant> IntKey2ValueMap;
59 typedef std::unordered_map<std::string, variant> StringKey2ValueMap;
60 IntKey2ValueMap _int_data;
61 StringKey2ValueMap _string_data;
67 #endif // __RTTR_METADATA_CONTAINER_H__
#define RTTR_API
Definition: core_prerequisites.h:124