UA Server SDK C++ Bundle  1.4.1.271
 All Classes Namespaces Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
UaSemanticChangeStructureDataType Class Reference

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...
 
UaSemanticChangeStructureDataTypeoperator= (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)
 Copy OpcUa_SemanticChangeStructureDataType data to an existing OpcUa_SemanticChangeStructureDataType structure. More...
 

Detailed Description

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.

Constructor & Destructor Documentation

UaSemanticChangeStructureDataType::UaSemanticChangeStructureDataType ( const UaSemanticChangeStructureDataType other)

Constructs an instance of the class UaSemanticChangeStructureDataType with values from another UaSemanticChangeStructureDataType object.

Parameters
otherthe 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.

Parameters
otherthe 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.

Parameters
extensionObjectthe 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.

Parameters
extensionObjectthe extension object containing the SemanticChangeStructureDataType

Member Function Documentation

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.

Parameters
[in]pValueParameter to attach to.
void UaSemanticChangeStructureDataType::clear ( )

Clear the data of the UaSemanticChangeStructureDataType.

OpcUa_SemanticChangeStructureDataType * UaSemanticChangeStructureDataType::clone ( const OpcUa_SemanticChangeStructureDataType &  source)
static

Copy OpcUa_SemanticChangeStructureDataType data to a newly allocated OpcUa_SemanticChangeStructureDataType.

Parameters
sourceSource to clone.
Returns
new copy.
void UaSemanticChangeStructureDataType::cloneTo ( const OpcUa_SemanticChangeStructureDataType &  source,
OpcUa_SemanticChangeStructureDataType &  copy 
)
static

Copy OpcUa_SemanticChangeStructureDataType data to an existing OpcUa_SemanticChangeStructureDataType structure.

Parameters
sourcethe source of the clone operation.
copythe destination of the clone operation.
OpcUa_SemanticChangeStructureDataType * UaSemanticChangeStructureDataType::copy ( ) const

Copy UaSemanticChangeStructureDataType data to a newly allocated OpcUa_SemanticChangeStructureDataType.

Returns
data to a newly allocated OpcUa_SemanticChangeStructureDataType.
void UaSemanticChangeStructureDataType::copyTo ( OpcUa_SemanticChangeStructureDataType *  pDst) const

Copy UaSemanticChangeStructureDataType data to an existing OpcUa_SemanticChangeStructureDataType structure.

Parameters
pDstthe 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.

Returns
If the function succeeds, pDst is returned, otherwise 0 is returned.
Parameters
[out]pDstPointer 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.

See Also
operator==
Parameters
otherthe UaSemanticChangeStructureDataType to compare.
Returns
true if other is not equal to this.
UaSemanticChangeStructureDataType & UaSemanticChangeStructureDataType::operator= ( const UaSemanticChangeStructureDataType other)

Assignment operator.

Parameters
otherthe UaSemanticChangeStructureDataType to assign.
Returns
Assignment operator.
bool UaSemanticChangeStructureDataType::operator== ( const UaSemanticChangeStructureDataType other) const

Compare two UaSemanticChangeStructureDataType if they are similar.

Parameters
otherthe UaSemanticChangeStructureDataType to compare.
Returns
true if similar, false if not.

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