Class Variant¶
Defined in File Variant.hpp
Inheritance Relationships¶
Derived Type¶
public nix::Cell
(Struct Cell)
Class Documentation¶
-
class Variant¶
Class that can hold either a bool, double, (u)int(34|64) or a string.
Subclassed by nix::Cell
Public Functions
-
inline Variant()¶
-
inline explicit Variant(char *value)¶
-
inline explicit Variant(const char *value)¶
- inline Variant (Variant &&other) NOEXCEPT
-
inline virtual ~Variant()¶
-
void set(bool value)¶
-
void set(int32_t value)¶
-
void set(uint32_t value)¶
-
void set(int64_t value)¶
-
void set(uint64_t value)¶
-
void set(double value)¶
-
void set(const char *value, const size_t len)¶
-
void set(const char *value)¶
-
void set(const std::string &value)¶
-
void get(bool &out) const¶
-
void get(int32_t &value) const¶
-
void get(uint32_t &value) const¶
-
void get(int64_t &value) const¶
-
void get(uint64_t &value) const¶
-
void get(double &value) const¶
-
void get(std::string &value) const¶
-
template<>
inline const char *get() const¶
-
inline Variant()¶