C++ Based OPC UA Client/Server/PubSub SDK
1.7.9.586
|
Wrapper class for the UA stack structure OpcUa_ConfigurationVersionDataType. More...
#include <uaconfigurationversiondatatype.h>
Public Member Functions | |
UaConfigurationVersionDataType () | |
Constructs an instance of the class UaConfigurationVersionDataType with empty default values. | |
UaConfigurationVersionDataType (const UaConfigurationVersionDataType &other) | |
Constructs an instance of the class UaConfigurationVersionDataType with values from another UaConfigurationVersionDataType object. More... | |
UaConfigurationVersionDataType (const OpcUa_ConfigurationVersionDataType &other) | |
Constructs an instance of the class UaConfigurationVersionDataType with values from another OpcUa_ConfigurationVersionDataType structure. More... | |
UaConfigurationVersionDataType (OpcUa_UInt32 majorVersion, OpcUa_UInt32 minorVersion) | |
Constructs an instance of the class UaConfigurationVersionDataType with values provided in the constructor. | |
UaConfigurationVersionDataType (const UaExtensionObject &extensionObject) | |
Constructs an instance of the class UaConfigurationVersionDataType initialized with value from a UaExtensionObject. More... | |
UaConfigurationVersionDataType (const OpcUa_ExtensionObject &extensionObject) | |
Constructs an instance of the class UaConfigurationVersionDataType initialized with value from an OpcUa_ExtensionObject structure. More... | |
~UaConfigurationVersionDataType () | |
Destroys the UaConfigurationVersionDataType object. | |
void | clear () |
Clear the data of the UaConfigurationVersionDataType. More... | |
bool | operator== (const UaConfigurationVersionDataType &other) const |
Compare two UaConfigurationVersionDataType for equality. More... | |
bool | operator!= (const UaConfigurationVersionDataType &other) const |
Compare two UaConfigurationVersionDataType for inequality. More... | |
UaConfigurationVersionDataType & | operator= (const UaConfigurationVersionDataType &other) |
Assignment operator. More... | |
OpcUa_ConfigurationVersionDataType * | copy () const |
Copy UaConfigurationVersionDataType data to a newly allocated OpcUa_ConfigurationVersionDataType. More... | |
void | copyTo (OpcUa_ConfigurationVersionDataType *pDst) const |
Copy UaConfigurationVersionDataType data to an existing OpcUa_ConfigurationVersionDataType structure. More... | |
void | attach (OpcUa_ConfigurationVersionDataType *pValue) |
Attaches to an existing OpcUa_ConfigurationVersionDataType structure. More... | |
OpcUa_ConfigurationVersionDataType * | detach (OpcUa_ConfigurationVersionDataType *pDst) |
Detaches the internal ConfigurationVersionDataType structure from this class. More... | |
OpcUa_UInt32 | getMajorVersion () const |
Returns the MajorVersion. | |
OpcUa_UInt32 | getMinorVersion () const |
Returns the MinorVersion. | |
void | setMajorVersion (OpcUa_UInt32 majorVersion) |
Sets the MajorVersion. | |
void | setMinorVersion (OpcUa_UInt32 minorVersion) |
Sets the MinorVersion. | |
Static Public Member Functions | |
static OpcUa_ConfigurationVersionDataType * | clone (const OpcUa_ConfigurationVersionDataType &source) |
Copy OpcUa_ConfigurationVersionDataType data to a newly allocated OpcUa_ConfigurationVersionDataType. More... | |
static void | cloneTo (const OpcUa_ConfigurationVersionDataType &source, OpcUa_ConfigurationVersionDataType ©) |
Copy OpcUa_ConfigurationVersionDataType data to an existing OpcUa_ConfigurationVersionDataType structure. More... | |
Wrapper class for the UA stack structure OpcUa_ConfigurationVersionDataType.
This class encapsulates the native OpcUa_ConfigurationVersionDataType structure and handles memory allocation and cleanup for you. UaConfigurationVersionDataType uses implicit sharing to avoid needless copying and to boost the performance. Only if you modify a shared ConfigurationVersionDataType it creates a copy for that (copy-on-write). So assigning another UaConfigurationVersionDataType or passing it as parameter needs constant time and is nearly as fast as assigning a pointer.
UaConfigurationVersionDataType::UaConfigurationVersionDataType | ( | const UaConfigurationVersionDataType & | other | ) |
Constructs an instance of the class UaConfigurationVersionDataType with values from another UaConfigurationVersionDataType object.
other | the other UaConfigurationVersionDataType used to initialize the object |
UaConfigurationVersionDataType::UaConfigurationVersionDataType | ( | const OpcUa_ConfigurationVersionDataType & | other | ) |
Constructs an instance of the class UaConfigurationVersionDataType with values from another OpcUa_ConfigurationVersionDataType structure.
other | the other OpcUa_ConfigurationVersionDataType used to initialize the object |
UaConfigurationVersionDataType::UaConfigurationVersionDataType | ( | const UaExtensionObject & | extensionObject | ) |
Constructs an instance of the class UaConfigurationVersionDataType initialized with value from a UaExtensionObject.
extensionObject | the extension object containing the ConfigurationVersionDataType |
UaConfigurationVersionDataType::UaConfigurationVersionDataType | ( | const OpcUa_ExtensionObject & | extensionObject | ) |
Constructs an instance of the class UaConfigurationVersionDataType initialized with value from an OpcUa_ExtensionObject structure.
extensionObject | the extension object containing the ConfigurationVersionDataType |
void UaConfigurationVersionDataType::attach | ( | OpcUa_ConfigurationVersionDataType * | pValue | ) |
Attaches to an existing OpcUa_ConfigurationVersionDataType structure.
Don't manually free the attached structure afterwards, because UaConfigurationVersionDataType is responsible for it now.
pValue | [in] Parameter to attach to. |
void UaConfigurationVersionDataType::clear | ( | ) |
Clear the data of the UaConfigurationVersionDataType.
|
static |
Copy OpcUa_ConfigurationVersionDataType data to a newly allocated OpcUa_ConfigurationVersionDataType.
source | Source to clone. |
|
static |
Copy OpcUa_ConfigurationVersionDataType data to an existing OpcUa_ConfigurationVersionDataType structure.
source | the source of the clone operation. |
copy | the destination of the clone operation. |
OpcUa_ConfigurationVersionDataType * UaConfigurationVersionDataType::copy | ( | ) | const |
Copy UaConfigurationVersionDataType data to a newly allocated OpcUa_ConfigurationVersionDataType.
void UaConfigurationVersionDataType::copyTo | ( | OpcUa_ConfigurationVersionDataType * | pDst | ) | const |
Copy UaConfigurationVersionDataType data to an existing OpcUa_ConfigurationVersionDataType structure.
pDst | the destination of this copy operation. |
OpcUa_ConfigurationVersionDataType * UaConfigurationVersionDataType::detach | ( | OpcUa_ConfigurationVersionDataType * | pDst | ) |
Detaches the internal ConfigurationVersionDataType structure from this class.
This way you take over the control of freeing the ConfigurationVersionDataType data. If more than one reference exists, the data is copied to pDst instead of being detached.
pDst | [out] Pointer to an OpcUa_ConfigurationVersionDataType structure that receives the ConfigurationVersionDataType data. |
bool UaConfigurationVersionDataType::operator!= | ( | const UaConfigurationVersionDataType & | other | ) | const |
Compare two UaConfigurationVersionDataType for inequality.
other | the UaConfigurationVersionDataType to compare with. |
UaConfigurationVersionDataType & UaConfigurationVersionDataType::operator= | ( | const UaConfigurationVersionDataType & | other | ) |
Assignment operator.
other | the UaConfigurationVersionDataType to assign. |
bool UaConfigurationVersionDataType::operator== | ( | const UaConfigurationVersionDataType & | other | ) | const |
Compare two UaConfigurationVersionDataType for equality.
other | the UaConfigurationVersionDataType to compare with. |