|
std::string | getOutputValueOnly () const override |
| Returns the formatted content of the Variant as a string. More...
|
|
IceUtil::Time | getTime () const |
|
Ice::Long | getTimestamp (const Ice::Current &c=Ice::emptyCurrent) const override |
| Timestamp in micro seconds. More...
|
|
Ice::ObjectPtr | ice_clone () const override |
|
void | setMicroseconds (Ice::Long microseconds) |
|
void | setTime (const IceUtil::Time time) |
|
| TimedVariant () |
|
| TimedVariant (char const var[], const IceUtil::Time &time) |
| Construct a TimedVariant from a string. More...
|
|
template<class T > |
| TimedVariant (const T &var, const IceUtil::Time &time, typename std::enable_if_t< !(std::is_base_of_v< VariantDataClass, T >||std::is_pointer_v< T >) >::type *t=0) |
| Construct a TimedVariant from a non-VariantDataClass instance, e.g. More...
|
|
| TimedVariant (const TimedVariant &source) |
|
template<class Var , class... Ts> |
| TimedVariant (const Var &variant, std::chrono::duration< Ts... > duration) |
|
template<class Var , class... Ts> |
| TimedVariant (const Var &variant, std::chrono::time_point< Ts... > timepoint) |
|
| TimedVariant (const Variant &variant, const IceUtil::Time &time) |
|
| TimedVariant (const VariantPtr &variant, const IceUtil::Time &time) |
|
| ~TimedVariant () override |
|
virtual VariantPtr | clone () const |
| Returns a copy of the Variant. More...
|
|
template<> |
bool | get () const |
|
template<> |
float | get () const |
|
template<> |
double | get () const |
|
template<typename T > |
std::enable_if_t< std::is_base_of_v< VariantDataClass, T >, IceInternal::Handle< T > > | get () const |
| Template-based getter for the Variant's value. More...
|
|
template<typename T > |
std::enable_if_t< std::is_base_of_v< VariantDataClass, typename T::element_type >, T > | get () const |
|
template<typename T > |
std::enable_if_t<(std::is_standard_layout_v< T > &&std::is_trivial_v< T >)||std::is_same_v< std::string, T >, T > | get () const |
| This getter is only called if a wrong template parameter is given (i.e: the type does not inherit from VariantDataClass). More...
|
|
template<> |
std::int8_t | get () const |
|
template<> |
std::int16_t | get () const |
|
template<> |
std::int32_t | get () const |
|
template<> |
std::int64_t | get () const |
|
template<> |
std::uint8_t | get () const |
|
template<> |
std::uint8_t | get () const |
|
template<> |
std::uint16_t | get () const |
|
template<> |
std::uint32_t | get () const |
|
template<> |
std::uint64_t | get () const |
|
template<> |
bool | get () const |
|
template<> |
float | get () const |
|
template<> |
double | get () const |
|
template<> |
std::string | get () const |
|
bool | getBool (const Ice::Current &c=Ice::emptyCurrent) const override |
| Return the Variant's value as bool. More...
|
|
template<class TVariantDataClass > |
IceInternal::Handle< TVariantDataClass > | getClass () const |
| Return the Variant's value as TVariantDataClass. More...
|
|
double | getDouble (const Ice::Current &c=Ice::emptyCurrent) const override |
| Return the Variant's value as double. More...
|
|
float | getFloat (const Ice::Current &c=Ice::emptyCurrent) const override |
| Return the Variant's value as float. More...
|
|
bool | getInitialized (const Ice::Current &c=Ice::emptyCurrent) const override |
| Tells if the Variant is properly initialized. More...
|
|
int | getInt (const Ice::Current &c=Ice::emptyCurrent) const override |
| Return the Variant's value as int. More...
|
|
long | getLong (const Ice::Current &c=Ice::emptyCurrent) const override |
| Return the Variant's value as long. More...
|
|
std::string | getString (const Ice::Current &c=Ice::emptyCurrent) const override |
| Return the Variant's value as string. More...
|
|
VariantTypeId | getType (const Ice::Current &c=Ice::emptyCurrent) const override |
| Return the Variant's internal type. More...
|
|
std::string | getTypeName (const Ice::Current &c=Ice::emptyCurrent) const override |
| Return the Variant's internal type. More...
|
|
Variant & | operator= (bool b) |
|
Variant & | operator= (const std::string &s) |
|
Variant & | operator= (const Variant &prototype) |
|
Variant & | operator= (const VariantDataClass &prototype) |
|
Variant & | operator= (const VariantDataClassPtr &prototype) |
|
Variant & | operator= (double d) |
|
Variant & | operator= (float f) |
|
Variant & | operator= (int n) |
|
Variant & | operator= (long n) |
|
template<> |
void | set (const bool &value) |
|
template<> |
void | set (const bool &value) |
|
template<> |
void | set (const double &value) |
|
template<> |
void | set (const double &value) |
|
template<> |
void | set (const float &value) |
|
template<> |
void | set (const float &value) |
|
template<> |
void | set (const std::int16_t &value) |
|
template<> |
void | set (const std::int32_t &value) |
|
template<> |
void | set (const std::int64_t &value) |
|
template<> |
void | set (const std::int8_t &value) |
|
template<> |
void | set (const std::string &value) |
|
template<> |
void | set (const std::uint16_t &value) |
|
template<> |
void | set (const std::uint32_t &value) |
|
template<> |
void | set (const std::uint64_t &value) |
|
template<> |
void | set (const std::uint8_t &value) |
|
template<> |
void | set (const std::uint8_t &value) |
|
template<typename T > |
std::enable_if_t<!std::is_base_of_v< VariantDataClass, T > > | set (const T &value) |
| Template-based setter for the Variant's value for non-VariantDataClass-instances. More...
|
|
template<typename T > |
std::enable_if_t< std::is_base_of_v< VariantDataClass, T > > | set (const VariantDataClassPtr &variantDataClass) |
| Template-based setter for the Variant's value for VariantDataClass-instances. More...
|
|
void | setBool (bool b, const Ice::Current &c=Ice::emptyCurrent) override |
| Sets the Variant's value to b. More...
|
|
void | setClass (const VariantDataClass &variantDataClass) |
| Sets the Variant's value to variantDataClass. More...
|
|
void | setClass (const VariantDataClassPtr &variantDataClass) |
| Sets the Variant's value to variantDataClass. More...
|
|
void | setDouble (double d, const Ice::Current &c=Ice::emptyCurrent) override |
| Sets the Variant's value to d. More...
|
|
void | setFloat (float f, const Ice::Current &c=Ice::emptyCurrent) override |
| Sets the Variant's value to f. More...
|
|
void | setInt (int n, const Ice::Current &c=Ice::emptyCurrent) override |
| Sets the Variant's value to n. More...
|
|
void | setLong (long n, const Ice::Current &c=Ice::emptyCurrent) override |
| Sets the Variant's value to n. More...
|
|
void | setString (const std::string &s, const Ice::Current &c=Ice::emptyCurrent) override |
| Sets the Variant's value to s. More...
|
|
void | setType (VariantTypeId typeId, const Ice::Current &c=Ice::emptyCurrent) override |
| Sets the Variant's type to typeId. More...
|
|
bool | validate (const Ice::Current &c=Ice::emptyCurrent) const override |
| Checks if the Variant is initialized and the stored value is valid with respect to the Variant's type. More...
|
|
| Variant () |
|
| Variant (char const var[]) |
| Construct a Variant from a string. More...
|
|
template<> |
| Variant (const bool &var, void *) |
|
template<> |
| Variant (const double &var, void *) |
|
template<> |
| Variant (const float &var, void *) |
|
template<class T > |
| Variant (const IceInternal::Handle< T > &var, typename std::enable_if_t< std::is_base_of_v< VariantDataClass, T >> *t=nullptr) |
| Construct a Variant from an IceHandle to a VariantDataClass instance. More...
|
|
template<> |
| Variant (const std::int16_t &var, void *) |
|
template<> |
| Variant (const std::int32_t &var, void *) |
|
template<> |
| Variant (const std::int64_t &var, void *) |
|
template<> |
| Variant (const std::int8_t &var, void *) |
|
template<> |
| Variant (const std::string &var, void *) |
|
template<> |
| Variant (const std::uint16_t &var, void *) |
|
template<> |
| Variant (const std::uint32_t &var, void *) |
|
template<> |
| Variant (const std::uint64_t &var, void *) |
|
template<> |
| Variant (const std::uint8_t &var, void *) |
|
template<class T > |
| Variant (const T &var, typename std::enable_if_t< std::is_base_of_v< VariantDataClass, T >> *t=nullptr) |
| Construct a Variant from a reference to a VariantDataClass instance. More...
|
|
template<class T > |
| Variant (const T &var, typename std::enable_if_t<!(std::is_base_of_v< VariantDataClass, T >||std::is_pointer_v< T >)> *t=nullptr) |
| Construct a Variant from a non-VariantDataClass instance, e.g. More...
|
|
template<class T > |
| Variant (const T *var, typename std::enable_if_t< std::is_base_of_v< VariantDataClass, T >> *t=nullptr) |
| Construct a Variant from a pointer to a VariantDataClass instance. More...
|
|
| Variant (const Variant &source) |
|