C++ Based OPC UA Client/Server SDK  1.5.5.355
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 for equality. More...
 
bool operator!= (const UaSemanticChangeStructureDataType &other) const
 Compare two UaSemanticChangeStructureDataType for inequality. More...
 
UaSemanticChangeStructureDataTypeoperator= (const UaSemanticChangeStructureDataType &other)
 Assignment operator. More...
 
OpcUa_SemanticChangeStructureDataTypecopy () 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 to an existing OpcUa_SemanticChangeStructureDataType structure. More...
 
OpcUa_SemanticChangeStructureDataTypedetach (OpcUa_SemanticChangeStructureDataType *pDst)
 Detaches the internal SemanticChangeStructureDataType structure from this class. More...
 
UaNodeId getAffected () const
 NodeId of the Node that owns the Property that has changed.
 
UaNodeId getAffectedType () const
 If the affected Node was an Object or Variable, affectedType contains the NodeId of the TypeDefinitionNode of the affected Node. More...
 
void setAffected (const UaNodeId &affected)
 NodeId of the Node that owns the Property that has changed.
 
void setAffectedType (const UaNodeId &affectedType)
 If the affected Node was an Object or Variable, affectedType contains the NodeId of the TypeDefinitionNode of the affected Node. 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.

Contains elements that describe a change of the model.

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 to an existing OpcUa_SemanticChangeStructureDataType structure.

Don't manually free the attached structure afterwards, because UaSemanticChangeStructureDataType is responsible for it now.

Parameters
pValue[in] Parameter 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
pointer to a newly allocated OpcUa_SemanticChangeStructureDataType.
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
pointer 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 freeing the SemanticChangeStructureDataType data. If more than one reference exists, the data is copied to pDst instead of being detached.

Parameters
pDst[out] Pointer to an OpcUa_SemanticChangeStructureDataType structure that receives the SemanticChangeStructureDataType data.
Returns
If the function succeeds, pDst is returned, otherwise 0 is returned.
UaNodeId UaSemanticChangeStructureDataType::getAffectedType ( ) const

If the affected Node was an Object or Variable, affectedType contains the NodeId of the TypeDefinitionNode of the affected Node.

Otherwise it is set to null.

bool UaSemanticChangeStructureDataType::operator!= ( const UaSemanticChangeStructureDataType other) const

Compare two UaSemanticChangeStructureDataType for inequality.

See also
operator==
Parameters
otherthe UaSemanticChangeStructureDataType to compare with.
Returns
true if not equal, false otherwise.
UaSemanticChangeStructureDataType & UaSemanticChangeStructureDataType::operator= ( const UaSemanticChangeStructureDataType other)

Assignment operator.

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

Compare two UaSemanticChangeStructureDataType for equality.

Parameters
otherthe UaSemanticChangeStructureDataType to compare with.
Returns
true if equal, false if not.
void UaSemanticChangeStructureDataType::setAffectedType ( const UaNodeId affectedType)

If the affected Node was an Object or Variable, affectedType contains the NodeId of the TypeDefinitionNode of the affected Node.

Otherwise it is set to null.


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