#include <variant.h>
Public Member Functions | |
template<typename T > | |
T | As () const |
bool | IsArray () const |
bool | IsNul () const |
bool | IsScalar () const |
template<typename T > | |
operator T () const | |
template<typename T > | |
bool | operator!= (const T &t) const |
Variant & | operator= (const Variant &variant) |
template<typename T > | |
Variant & | operator= (const T &value) |
Variant & | operator= (MessageId value) |
Variant & | operator= (ReferenceId value) |
Variant & | operator= (ObjectId value) |
Variant & | operator= (ExpandedObjectId value) |
bool | operator== (const Variant &var) const |
template<typename T > | |
bool | operator== (const T &value) const |
bool | operator== (MessageId id) const |
bool | operator== (ReferenceId id) const |
bool | operator== (ObjectId id) const |
bool | operator== (ExpandedObjectId id) const |
std::string | ToString () const |
VariantType | Type () const |
Variant () | |
Variant (const Variant &var) | |
template<typename T > | |
Variant (const T &value) | |
Variant (MessageId id) | |
Variant (ReferenceId id) | |
Variant (ObjectId id) | |
Variant (ExpandedObjectId id) | |
Variant (VariantType) | |
void | Visit (VariantVisitor &visitor) const |
Public Attributes | |
std::vector< uint32_t > | Dimensions |
Private Attributes | |
boost::any | Value |
OpcUa::Variant::Variant | ( | ) | [inline] |
OpcUa::Variant::Variant | ( | const Variant & | var | ) | [inline] |
OpcUa::Variant::Variant | ( | const T & | value | ) | [inline] |
OpcUa::Variant::Variant | ( | MessageId | id | ) | [inline] |
OpcUa::Variant::Variant | ( | ReferenceId | id | ) | [inline] |
OpcUa::Variant::Variant | ( | ObjectId | id | ) | [inline] |
OpcUa::Variant::Variant | ( | ExpandedObjectId | id | ) | [inline] |
OpcUa::Variant::Variant | ( | VariantType | ) | [explicit] |
T OpcUa::Variant::As | ( | ) | const [inline] |
bool OpcUa::Variant::IsArray | ( | ) | const |
Definition at line 329 of file binary_variant.cpp.
bool OpcUa::Variant::IsNul | ( | ) | const |
Definition at line 324 of file binary_variant.cpp.
bool OpcUa::Variant::IsScalar | ( | ) | const |
Definition at line 319 of file binary_variant.cpp.
OpcUa::Variant::operator T | ( | ) | const [inline, explicit] |
bool OpcUa::Variant::operator!= | ( | const T & | t | ) | const [inline] |
Variant& OpcUa::Variant::operator= | ( | const T & | value | ) | [inline] |
Variant& OpcUa::Variant::operator= | ( | ReferenceId | value | ) | [inline] |
Variant& OpcUa::Variant::operator= | ( | ExpandedObjectId | value | ) | [inline] |
bool OpcUa::Variant::operator== | ( | const Variant & | var | ) | const |
Definition at line 194 of file binary_variant.cpp.
bool OpcUa::Variant::operator== | ( | const T & | value | ) | const [inline] |
bool OpcUa::Variant::operator== | ( | MessageId | id | ) | const [inline] |
bool OpcUa::Variant::operator== | ( | ReferenceId | id | ) | const [inline] |
bool OpcUa::Variant::operator== | ( | ObjectId | id | ) | const [inline] |
bool OpcUa::Variant::operator== | ( | ExpandedObjectId | id | ) | const [inline] |
std::string OpcUa::Variant::ToString | ( | ) | const |
Definition at line 607 of file binary_variant.cpp.
VariantType OpcUa::Variant::Type | ( | ) | const |
Definition at line 357 of file binary_variant.cpp.
void OpcUa::Variant::Visit | ( | VariantVisitor & | visitor | ) | const |
Definition at line 414 of file binary_variant.cpp.
std::vector<uint32_t> OpcUa::Variant::Dimensions |
boost::any OpcUa::Variant::Value [private] |