Class Value

Class Documentation

class Value

Class that corresponds to the odML Value.

Public Functions

inline Value()
inline explicit Value(char *value)
inline explicit Value(const char *value)
template<typename T>
inline explicit Value(const T &value)
template<size_t N>
inline explicit Value(const char (&value)[N])
inline Value(const Value &other)
inline  Value (Value &&other) NOEXCEPT
inline Value &operator=(Value other)
inline void set(none_t)
inline void set(bool value)
inline void set(int32_t value)
inline void set(uint32_t value)
inline void set(int64_t value)
inline void set(uint64_t value)
inline void set(double value)
inline void set(const char *value, const size_t len)
inline void set(const char *value)
inline void set(const std::string &value)
template<typename T>
inline T get() const
inline void get(none_t &tag) const
inline void get(bool &out) const
inline void get(int32_t &value) const
inline void get(uint32_t &value) const
inline void get(int64_t &value) const
inline void get(uint64_t &value) const
inline void get(double &value) const
inline void get(std::string &value) const
inline DataType type() const
void swap(Value &other)
bool operator==(Value const &other) const
template<>
inline const char *get() const
template<>
inline const none_t get() const

Public Members

double uncertainty = 0.0
std::string reference
std::string filename
std::string encoder
std::string checksum

Public Static Functions

static inline bool supports_type(DataType dtype)