File meta_data.hpp
Core API objects - meta data.
Helper functions for slamcore::MetaDataID
-
template<class Archive>
static inline void load_minimal(const Archive&, MetaDataID &obj, const std::string &value)
-
template<class Archive>
static inline std::string save_minimal(const Archive&, const MetaDataID &obj)
-
static inline std::ostream &operator<<(std::ostream &os, const MetaDataID obj)
Enums
-
template<typename T>
struct TypeTraits<T, typename enable_if_is_base_of<MetaDataInterface, T>::type> - #include <meta_data.hpp>
Public Static Attributes
-
static constexpr ObjectType EnumType = ObjectType::MetaData
-
static constexpr ObjectType EnumType = ObjectType::MetaData
-
namespace slamcore
Helper conversion methods
slamcore::ImageFormat \(\leftrightarrow\) BytesPerChannel
Helper functions for slamcore::MetaDataID
-
template<class Archive>
static inline void load_minimal(const Archive&, MetaDataID &obj, const std::string &value)
-
template<class Archive>
static inline std::string save_minimal(const Archive&, const MetaDataID &obj)
-
static inline std::ostream &operator<<(std::ostream &os, const MetaDataID obj)
Get information about the client library
Enums
-
class MetaDataInterface
- #include <meta_data.hpp>
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* = nullptr) const
-
template<typename T>
inline std::error_code getValue(T &val, typename std::enable_if<std::is_enum<T>::value, T>::type* = nullptr) const
Public Types
-
enum class ValueType : EnumBaseT
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
-
virtual ~MetaDataInterface() = default
-
virtual MetaDataID getID() const = 0
Get MetaData ID
-
virtual ValueType getValueType() const = 0
Type of the value we store.
-
inline virtual std::size_t getIndex() const
[OPTIONAL] Get index value.
-
template<typename T>
- template<typename T> type >
- #include <meta_data.hpp>
Public Static Attributes
-
static constexpr ObjectType EnumType = ObjectType::MetaData
-
static constexpr ObjectType EnumType = ObjectType::MetaData
-
template<class Archive>