|
| UaEnumValueType () |
| Constructs an instance of the class UaEnumValueType with empty default values.
|
|
| UaEnumValueType (const UaEnumValueType &other) |
| Constructs an instance of the class UaEnumValueType with values from another UaEnumValueType object. More...
|
|
| UaEnumValueType (const OpcUa_EnumValueType &other) |
| Constructs an instance of the class UaEnumValueType with values from another OpcUa_EnumValueType structure. More...
|
|
| UaEnumValueType (OpcUa_Int64 value, const UaLocalizedText &displayName, const UaLocalizedText &description) |
| Constructs an instance of the class UaEnumValueType with values provided in the constructor.
|
|
| UaEnumValueType (const UaExtensionObject &extensionObject) |
| Constructs an instance of the class UaEnumValueType initialized with value from a UaExtensionObject. More...
|
|
| UaEnumValueType (const OpcUa_ExtensionObject &extensionObject) |
| Constructs an instance of the class UaEnumValueType initialized with value from an OpcUa_ExtensionObject structure. More...
|
|
| UaEnumValueType (UaExtensionObject &extensionObject, OpcUa_Boolean bDetach) |
|
| UaEnumValueType (OpcUa_ExtensionObject &extensionObject, OpcUa_Boolean bDetach) |
|
| ~UaEnumValueType () |
| Destroys the UaEnumValueType object.
|
|
void | clear () |
| Clear the data of the UaEnumValueType. More...
|
|
bool | operator== (const UaEnumValueType &other) const |
| Compare two UaEnumValueType if they are similar. More...
|
|
bool | operator!= (const UaEnumValueType &other) const |
| Returns true if the other UaEnumValueType is not equal to this. More...
|
|
UaEnumValueType & | operator= (const UaEnumValueType &other) |
| Assignment operator. More...
|
|
OpcUa_EnumValueType * | copy () const |
| Copy UaEnumValueType data to a newly allocated OpcUa_EnumValueType. More...
|
|
void | copyTo (OpcUa_EnumValueType *pDst) const |
| Copy UaEnumValueType data to an existing OpcUa_EnumValueType structure. More...
|
|
void | attach (const OpcUa_EnumValueType *pValue) |
| Attaches the data of the parameter pValue. More...
|
|
OpcUa_EnumValueType * | detach (OpcUa_EnumValueType *pDst) |
| Detaches the internal EnumValueType structure from this class. More...
|
|
void | toVariant (UaVariant &variant) const |
|
void | toVariant (OpcUa_Variant &variant) const |
|
void | toVariant (UaVariant &variant, OpcUa_Boolean bDetach) |
|
void | toVariant (OpcUa_Variant &variant, OpcUa_Boolean bDetach) |
|
void | toDataValue (UaDataValue &dataValue, OpcUa_Boolean updateTimeStamps) const |
|
void | toDataValue (OpcUa_DataValue &dataValue, OpcUa_Boolean updateTimeStamps) const |
|
void | toDataValue (UaDataValue &dataValue, OpcUa_Boolean bDetach, OpcUa_Boolean updateTimeStamps) |
|
void | toDataValue (OpcUa_DataValue &dataValue, OpcUa_Boolean bDetach, OpcUa_Boolean updateTimeStamps) |
|
void | toExtensionObject (UaExtensionObject &extensionObject) const |
|
void | toExtensionObject (OpcUa_ExtensionObject &extensionObject) const |
|
void | toExtensionObject (UaExtensionObject &extensionObject, OpcUa_Boolean bDetach) |
|
void | toExtensionObject (OpcUa_ExtensionObject &extensionObject, OpcUa_Boolean bDetach) |
|
OpcUa_StatusCode | setEnumValueType (const UaExtensionObject &extensionObject) |
|
OpcUa_StatusCode | setEnumValueType (const OpcUa_ExtensionObject &extensionObject) |
|
OpcUa_StatusCode | setEnumValueType (UaExtensionObject &extensionObject, OpcUa_Boolean bDetach) |
|
OpcUa_StatusCode | setEnumValueType (OpcUa_ExtensionObject &extensionObject, OpcUa_Boolean bDetach) |
|
void | setEnumValueType (OpcUa_Int64 value, const UaLocalizedText &displayName, const UaLocalizedText &description) |
|
OpcUa_Int64 | getValue () const |
|
UaLocalizedText | getDisplayName () const |
|
UaLocalizedText | getDescription () const |
|
void | setValue (OpcUa_Int64 value) |
|
void | setDisplayName (const UaLocalizedText &displayName) |
|
void | setDescription (const UaLocalizedText &description) |
|
Wrapper class for the UA stack structure OpcUa_EnumValueType.
This class encapsulates the native OpcUa_EnumValueType structure and handles memory allocation and cleanup for you. UaEnumValueType uses implicit sharing to avoid needless copying and to boost the performance. Only if you modify a shared EnumValueType it creates a copy for that (copy-on-write). So assigning another UaEnumValueType or passing it as parameter needs constant time and is nearly as fast as assigning a pointer.