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