UA Server SDK C++ Bundle
1.4.1.271
|
Wrapper class for the UA stack structure OpcUa_SemanticChangeStructureDataType. More...
#include <uasemanticchangestructuredatatype.h>
Public Member Functions | |
UaSemanticChangeStructureDataType () | |
Constructs an instance of the class UaSemanticChangeStructureDataType with empty default values. | |
UaSemanticChangeStructureDataType (const UaSemanticChangeStructureDataType &other) | |
Constructs an instance of the class UaSemanticChangeStructureDataType with values from another UaSemanticChangeStructureDataType object. More... | |
UaSemanticChangeStructureDataType (const OpcUa_SemanticChangeStructureDataType &other) | |
Constructs an instance of the class UaSemanticChangeStructureDataType with values from another OpcUa_SemanticChangeStructureDataType structure. More... | |
UaSemanticChangeStructureDataType (const UaNodeId &affected, const UaNodeId &affectedType) | |
Constructs an instance of the class UaSemanticChangeStructureDataType with values provided in the constructor. | |
UaSemanticChangeStructureDataType (const UaExtensionObject &extensionObject) | |
Constructs an instance of the class UaSemanticChangeStructureDataType initialized with value from a UaExtensionObject. More... | |
UaSemanticChangeStructureDataType (const OpcUa_ExtensionObject &extensionObject) | |
Constructs an instance of the class UaSemanticChangeStructureDataType initialized with value from an OpcUa_ExtensionObject structure. More... | |
~UaSemanticChangeStructureDataType () | |
Destroys the UaSemanticChangeStructureDataType object. | |
void | clear () |
Clear the data of the UaSemanticChangeStructureDataType. More... | |
bool | operator== (const UaSemanticChangeStructureDataType &other) const |
Compare two UaSemanticChangeStructureDataType if they are similar. More... | |
bool | operator!= (const UaSemanticChangeStructureDataType &other) const |
Returns true if the other UaSemanticChangeStructureDataType is not equal to this. More... | |
UaSemanticChangeStructureDataType & | operator= (const UaSemanticChangeStructureDataType &other) |
Assignment operator. More... | |
OpcUa_SemanticChangeStructureDataType * | copy () const |
Copy UaSemanticChangeStructureDataType data to a newly allocated OpcUa_SemanticChangeStructureDataType. More... | |
void | copyTo (OpcUa_SemanticChangeStructureDataType *pDst) const |
Copy UaSemanticChangeStructureDataType data to an existing OpcUa_SemanticChangeStructureDataType structure. More... | |
void | attach (OpcUa_SemanticChangeStructureDataType *pValue) |
Attaches the data of the parameter pValue. More... | |
OpcUa_SemanticChangeStructureDataType * | detach (OpcUa_SemanticChangeStructureDataType *pDst) |
Detaches the internal SemanticChangeStructureDataType structure from this class. More... | |
Static Public Member Functions | |
static OpcUa_SemanticChangeStructureDataType * | clone (const OpcUa_SemanticChangeStructureDataType &source) |
Copy OpcUa_SemanticChangeStructureDataType data to a newly allocated OpcUa_SemanticChangeStructureDataType. More... | |
static void | cloneTo (const OpcUa_SemanticChangeStructureDataType &source, OpcUa_SemanticChangeStructureDataType ©) |
Copy OpcUa_SemanticChangeStructureDataType data to an existing OpcUa_SemanticChangeStructureDataType structure. More... | |
Wrapper class for the UA stack structure OpcUa_SemanticChangeStructureDataType.
This class encapsulates the native OpcUa_SemanticChangeStructureDataType structure and handles memory allocation and cleanup for you. UaSemanticChangeStructureDataType uses implicit sharing to avoid needless copying and to boost the performance. Only if you modify a shared SemanticChangeStructureDataType it creates a copy for that (copy-on-write). So assigning another UaSemanticChangeStructureDataType or passing it as parameter needs constant time and is nearly as fast as assigning a pointer.
UaSemanticChangeStructureDataType::UaSemanticChangeStructureDataType | ( | const UaSemanticChangeStructureDataType & | other | ) |
Constructs an instance of the class UaSemanticChangeStructureDataType with values from another UaSemanticChangeStructureDataType object.
other | the other UaSemanticChangeStructureDataType used to initialize the object |
UaSemanticChangeStructureDataType::UaSemanticChangeStructureDataType | ( | const OpcUa_SemanticChangeStructureDataType & | other | ) |
Constructs an instance of the class UaSemanticChangeStructureDataType with values from another OpcUa_SemanticChangeStructureDataType structure.
other | the other OpcUa_SemanticChangeStructureDataType used to initialize the object |
UaSemanticChangeStructureDataType::UaSemanticChangeStructureDataType | ( | const UaExtensionObject & | extensionObject | ) |
Constructs an instance of the class UaSemanticChangeStructureDataType initialized with value from a UaExtensionObject.
extensionObject | the extension object containing the SemanticChangeStructureDataType |
UaSemanticChangeStructureDataType::UaSemanticChangeStructureDataType | ( | const OpcUa_ExtensionObject & | extensionObject | ) |
Constructs an instance of the class UaSemanticChangeStructureDataType initialized with value from an OpcUa_ExtensionObject structure.
extensionObject | the extension object containing the SemanticChangeStructureDataType |
void UaSemanticChangeStructureDataType::attach | ( | OpcUa_SemanticChangeStructureDataType * | pValue | ) |
Attaches the data of the parameter pValue.
Don't clear the data of pValue afterwards manually, because UaSemanticChangeStructureDataType is responsible for it now.
[in] | pValue | Parameter to attach to. |
void UaSemanticChangeStructureDataType::clear | ( | ) |
Clear the data of the UaSemanticChangeStructureDataType.
|
static |
Copy OpcUa_SemanticChangeStructureDataType data to a newly allocated OpcUa_SemanticChangeStructureDataType.
source | Source to clone. |
|
static |
Copy OpcUa_SemanticChangeStructureDataType data to an existing OpcUa_SemanticChangeStructureDataType structure.
source | the source of the clone operation. |
copy | the destination of the clone operation. |
OpcUa_SemanticChangeStructureDataType * UaSemanticChangeStructureDataType::copy | ( | ) | const |
Copy UaSemanticChangeStructureDataType data to a newly allocated OpcUa_SemanticChangeStructureDataType.
void UaSemanticChangeStructureDataType::copyTo | ( | OpcUa_SemanticChangeStructureDataType * | pDst | ) | const |
Copy UaSemanticChangeStructureDataType data to an existing OpcUa_SemanticChangeStructureDataType structure.
pDst | the destination of this copy operation. |
OpcUa_SemanticChangeStructureDataType * UaSemanticChangeStructureDataType::detach | ( | OpcUa_SemanticChangeStructureDataType * | pDst | ) |
Detaches the internal SemanticChangeStructureDataType structure from this class.
This way you take over the control of releasing the SemanticChangeStructureDataType data. If more than one reference exists, the data is copied to pDst instead of being detached.
[out] | pDst | Pointer to OpcUa_SemanticChangeStructureDataType structure that receives the SemanticChangeStructureDataType data. |
bool UaSemanticChangeStructureDataType::operator!= | ( | const UaSemanticChangeStructureDataType & | other | ) | const |
Returns true if the other UaSemanticChangeStructureDataType is not equal to this.
other | the UaSemanticChangeStructureDataType to compare. |
UaSemanticChangeStructureDataType & UaSemanticChangeStructureDataType::operator= | ( | const UaSemanticChangeStructureDataType & | other | ) |
Assignment operator.
other | the UaSemanticChangeStructureDataType to assign. |
bool UaSemanticChangeStructureDataType::operator== | ( | const UaSemanticChangeStructureDataType & | other | ) | const |
Compare two UaSemanticChangeStructureDataType if they are similar.
other | the UaSemanticChangeStructureDataType to compare. |