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