Class slamcore::MetaDataInterface¶
-
class slamcore::MetaDataInterface : public ObjectInterface¶
Representing metadata.
Metadata value getters.
-
template<typename T>
inline std::error_code getValue(T &val, typename std::enable_if<std::is_integral<T>::value, T>::type* = 0) const¶
-
template<typename T>
inline std::error_code getValue(T &val, typename std::enable_if<std::is_enum<T>::value, T>::type* = 0) const¶
Public Types
-
enum ValueType¶
Values:
-
enumerator Integer¶
-
enumerator Floating¶
-
enumerator String¶
-
enumerator Count¶
-
enumerator Integer¶
-
using Ptr = std::shared_ptr<MetaDataInterface>¶
-
using CPtr = std::shared_ptr<const MetaDataInterface>¶
Public Functions
-
inline virtual ObjectType type() const¶
Type of the object.
-
virtual MetaDataID getID() const = 0¶
Get MetaData ID
-
template<typename T>