Public Member Functions | Public Attributes | Private Attributes
OpcUa::Variant Class Reference

#include <variant.h>

List of all members.

Public Member Functions

template<typename 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
Variantoperator= (const Variant &variant)
template<typename T >
Variantoperator= (const T &value)
Variantoperator= (MessageId value)
Variantoperator= (ReferenceId value)
Variantoperator= (ObjectId value)
Variantoperator= (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

Detailed Description

Definition at line 158 of file variant.h.


Constructor & Destructor Documentation

Definition at line 165 of file variant.h.

OpcUa::Variant::Variant ( const Variant var) [inline]

Definition at line 166 of file variant.h.

template<typename T >
OpcUa::Variant::Variant ( const T &  value) [inline]

Definition at line 172 of file variant.h.

Definition at line 173 of file variant.h.

Definition at line 174 of file variant.h.

Definition at line 175 of file variant.h.

Definition at line 176 of file variant.h.


Member Function Documentation

template<typename T >
T OpcUa::Variant::As ( ) const [inline]

Definition at line 257 of file variant.h.

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.

template<typename T >
OpcUa::Variant::operator T ( ) const [inline, explicit]

Definition at line 263 of file variant.h.

template<typename T >
bool OpcUa::Variant::operator!= ( const T &  t) const [inline]

Definition at line 247 of file variant.h.

Variant& OpcUa::Variant::operator= ( const Variant variant) [inline]

Definition at line 179 of file variant.h.

template<typename T >
Variant& OpcUa::Variant::operator= ( const T &  value) [inline]

Definition at line 186 of file variant.h.

Variant& OpcUa::Variant::operator= ( MessageId  value) [inline]

Definition at line 192 of file variant.h.

Variant& OpcUa::Variant::operator= ( ReferenceId  value) [inline]

Definition at line 198 of file variant.h.

Variant& OpcUa::Variant::operator= ( ObjectId  value) [inline]

Definition at line 204 of file variant.h.

Variant& OpcUa::Variant::operator= ( ExpandedObjectId  value) [inline]

Definition at line 210 of file variant.h.

bool OpcUa::Variant::operator== ( const Variant var) const

Definition at line 194 of file binary_variant.cpp.

template<typename T >
bool OpcUa::Variant::operator== ( const T &  value) const [inline]

Definition at line 220 of file variant.h.

bool OpcUa::Variant::operator== ( MessageId  id) const [inline]

Definition at line 225 of file variant.h.

bool OpcUa::Variant::operator== ( ReferenceId  id) const [inline]

Definition at line 230 of file variant.h.

bool OpcUa::Variant::operator== ( ObjectId  id) const [inline]

Definition at line 235 of file variant.h.

bool OpcUa::Variant::operator== ( ExpandedObjectId  id) const [inline]

Definition at line 240 of file variant.h.

std::string OpcUa::Variant::ToString ( ) const

Definition at line 607 of file binary_variant.cpp.

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.


Member Data Documentation

std::vector<uint32_t> OpcUa::Variant::Dimensions

Definition at line 163 of file variant.h.

boost::any OpcUa::Variant::Value [private]

Definition at line 160 of file variant.h.


The documentation for this class was generated from the following files:


ros_opcua_impl_freeopcua
Author(s): Denis Štogl
autogenerated on Sat Jun 8 2019 18:25:00