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