Functions | |
CVOPCNODEID | CreateCVOPCNodeId (TCVOpc_NS0_NodeId NodeId) |
Creates an OPCUA NodeId given the #TCVOpc_NS0_NodeId enumeration type. More... | |
CVOPCNODEID | CreateCVOPCNodeIdByteString (cvbuint16_t NamespaceIndex, cvbuint8_t *Identifier, size_t Length) |
Creates an OPCUA NodeId with an Opaque Value (ByteString) identifier which is set as C string. More... | |
CVOPCNODEID | CreateCVOPCNodeIdGUID (cvbuint16_t NamespaceIndex, cvbguid_t Identifier) |
Creates an OPCUA NodeId with a GUID identifier which is set as GUID. More... | |
CVOPCNODEID | CreateCVOPCNodeIdNumeric (cvbuint16_t NamespaceIndex, cvbuint32_t Identifier) |
Creates an OPCUA NodeId with a numeric identifier which is set as uint32. More... | |
CVOPCNODEID | CreateCVOPCNodeIdString (cvbuint16_t NamespaceIndex, const char *Identifier) |
Creates an OPCUA NodeId with a string identifier which is set as C string. More... | |
CVOPCNODEID | CreateCVOPCNodeIdStringW (cvbuint16_t NamespaceIndex, const wchar_t *Identifier) |
Creates an OPCUA NodeId with a string identifier which is set as wide C string. More... | |
cvbres_t | CVOPCGetNamespaceIndex (CVOPCNODEID NodeId, cvbuint16_t &NamespaceIndex) |
Gets the namespace index of the OPCUA NodeId as a cvbuint16_t. More... | |
cvbres_t | CVOPCGetNodeIdExpandedText (CVOPCNODEID NodeId, char *Identifier, size_t &IdSize) |
Gets the string representation of a OPCUA NodeId including namespace and type. More... | |
cvbres_t | CVOPCIdType (CVOPCNODEID NodeId, TCVOPCNodeIdType &NodeIdType) |
Gets the type of OPCUA NodeId. More... | |
cvbres_t | CVOPCNodeIdAsByteString (CVOPCNODEID NodeId, cvbuint8_t *Identifier, size_t &IdSize) |
Gets the Id of the OPCUA NodeId as an C string if the identifier is opaque (byte string). More... | |
cvbres_t | CVOPCNodeIdAsGUID (CVOPCNODEID NodeId, cvbguid_t &Identifier) |
Gets the Id of the OPCUA NodeId as an cvbguid_t if the identifier is GUID. More... | |
cvbres_t | CVOPCNodeIdAsInteger (CVOPCNODEID NodeId, cvbuint32_t &Value) |
Gets the Id of the OPCUA NodeId as a cvbuint32_t if the identifier is numeric. More... | |
cvbres_t | CVOPCNodeIdAsString (CVOPCNODEID NodeId, char *Identifier, size_t &IdSize) |
Gets the Id of the OPCUA NodeId as an C string if the identifier is string. More... | |
cvbres_t | CVOPCNodeIdAsStringW (CVOPCNODEID NodeId, wchar_t *Identifier, size_t &IdSize) |
Gets the Id of the OPCUA NodeId as a wide C string if the identifier is string. More... | |
cvbres_t | CVOpcSetNIDExpandedText (CVOPCNODEID NodeId, const char *Identifier) |
Sets the string representation of a OPCUA NodeId including namespace and type. More... | |
cvbbool_t | IsCVOPCNodeId (CVOPCNODEID NodeId) |
Tries to check whether given NodeId object is a valid OPCUA NodeId object. More... | |
Functions to create and access OPCUA NodeId objects and its attributes.
CVOPCNODEID CreateCVOPCNodeId | ( | TCVOpc_NS0_NodeId | NodeId | ) |
Creates an OPCUA NodeId given the #TCVOpc_NS0_NodeId enumeration type.
nullptr
on error (Use CVOPCGetLastErrorString function for a human readable error description). CVOPCNODEID CreateCVOPCNodeIdByteString | ( | cvbuint16_t | NamespaceIndex, |
cvbuint8_t * | Identifier, | ||
size_t | Length | ||
) |
Creates an OPCUA NodeId with an Opaque Value (ByteString) identifier which is set as C string.
[in] | NamespaceIndex | Index that defines namespace where the NodeId should belong to. |
[in] | Id | The Id of the NodeId object represented as C string. This string must be 0 terminated. |
[in] | length | The length of the ByteString Identifier (base 64) in bytes. |
nullptr
on error (Use CVOPCGetLastErrorString function for a human readable error description). CVOPCNODEID CreateCVOPCNodeIdGUID | ( | cvbuint16_t | NamespaceIndex, |
cvbguid_t | Identifier | ||
) |
Creates an OPCUA NodeId with a GUID identifier which is set as GUID.
[in] | NamespaceIndex | Index that defines namespace where the NodeId should belong to. |
[in] | Id | The Id of the NodeId object represented as GUID. |
nullptr
on error (Use CVOPCGetLastErrorString function for a human readable error description). CVOPCNODEID CreateCVOPCNodeIdNumeric | ( | cvbuint16_t | NamespaceIndex, |
cvbuint32_t | Identifier | ||
) |
Creates an OPCUA NodeId with a numeric identifier which is set as uint32.
[in] | NamespaceIndex | Index that defines namespace where the NodeId should belong to. |
[in] | Id | The Id of the NodeId object represented as uint32. |
nullptr
on error (Use CVOPCGetLastErrorString function for a human readable error description). CVOPCNODEID CreateCVOPCNodeIdString | ( | cvbuint16_t | NamespaceIndex, |
const char * | Identifier | ||
) |
Creates an OPCUA NodeId with a string identifier which is set as C string.
[in] | NamespaceIndex | Index that defines namespace where the NodeId should belong to. |
[in] | Id | The Id of the NodeId object represented as string. This String must be 0 terminated. |
nullptr
on error (Use CVOPCGetLastErrorString function for a human readable error description). CVOPCNODEID CreateCVOPCNodeIdStringW | ( | cvbuint16_t | NamespaceIndex, |
const wchar_t * | Identifier | ||
) |
Creates an OPCUA NodeId with a string identifier which is set as wide C string.
[in] | NamespaceIndex | Index that defines namespace where the NodeId should belong to. |
[in] | Id | The Id of the NodeId object represented as wide string. This wide string must be 0 terminated. |
nullptr
on error (Use CVOPCGetLastErrorString function for a human readable error description). cvbres_t CVOPCGetNamespaceIndex | ( | CVOPCNODEID | NodeId, |
cvbuint16_t & | NamespaceIndex | ||
) |
Gets the namespace index of the OPCUA NodeId as a cvbuint16_t.
[in] | NodeId | OPCUA NodeId handle. |
[out] | NamespaceIndex | Index referring to the namespace of the OPCUA Server the NodeId belongs to. |
cvbres_t CVOPCGetNodeIdExpandedText | ( | CVOPCNODEID | NodeId, |
char * | Identifier, | ||
size_t & | IdSize | ||
) |
Gets the string representation of a OPCUA NodeId including namespace and type.
[in] | OPCNID | OPCUA NodeId handle. |
[out] | Identifier | Wide C string to be filled with requested string representation (expanded) nodeId; noNULL for size inquiry (see ValueSize). |
[in,out] | ValueSize | Gives the buffer size of Value or receives the minimal needed size (including the terminating zero in either case) if Value is NULL ./// |
cvbres_t CVOPCIdType | ( | CVOPCNODEID | NodeId, |
TCVOPCNodeIdType & | NodeIdType | ||
) |
Gets the type of OPCUA NodeId.
nullptr
.[in] | OPCNID | OPCUA NodeId handle. |
[out] | NodeIdType | Type of the NodeId and its identifier. |
cvbres_t CVOPCNodeIdAsByteString | ( | CVOPCNODEID | NodeId, |
cvbuint8_t * | Identifier, | ||
size_t & | IdSize | ||
) |
Gets the Id of the OPCUA NodeId as an C string if the identifier is opaque (byte string).
[in] | OPCNID | OPCUA NodeId handle. |
[out] | Identifier | C string to be filled with requested value; NULL for size inquiry (see ValueSize). |
[in,out] | ValueSize | Gives the buffer size of Value or receives the minimal needed size (including the terminating zero in either case) if Value is NULL ./// |
Todo check if struct is empty
cvbres_t CVOPCNodeIdAsGUID | ( | CVOPCNODEID | NodeId, |
cvbguid_t & | Identifier | ||
) |
Gets the Id of the OPCUA NodeId as an cvbguid_t if the identifier is GUID.
[in] | OPCNID | OPCUA NodeId handle. |
[out] | Identifier | C string to be filled with requested value; NULL for size inquiry (see ValueSize). |
[in,out] | ValueSize | Gives the buffer size of Value or receives the minimal needed size (including the terminating zero in either case) if Value is NULL ./// |
Todo check if struct is empty
cvbres_t CVOPCNodeIdAsInteger | ( | CVOPCNODEID | NodeId, |
cvbuint32_t & | Value | ||
) |
Gets the Id of the OPCUA NodeId as a cvbuint32_t if the identifier is numeric.
[in] | OPCNID | OPCUA NodeId handle. |
[out] | Identifier | Reference to variable in which the current value of the numeric identifier for the given NodeId is written. |
cvbres_t CVOPCNodeIdAsString | ( | CVOPCNODEID | NodeId, |
char * | Identifier, | ||
size_t & | IdSize | ||
) |
Gets the Id of the OPCUA NodeId as an C string if the identifier is string.
[in] | OPCNID | OPCUA NodeId handle. |
[out] | Identifier | C string to be filled with requested value; NULL for size inquiry (see ValueSize). |
[in,out] | ValueSize | Gives the buffer size of Value or receives the minimal needed size (including the terminating zero in either case) if Value is NULL ./// |
Todo check if struct is empty
cvbres_t CVOPCNodeIdAsStringW | ( | CVOPCNODEID | NodeId, |
wchar_t * | Identifier, | ||
size_t & | IdSize | ||
) |
Gets the Id of the OPCUA NodeId as a wide C string if the identifier is string.
[in] | OPCNID | OPCUA NodeId handle. |
[out] | Identifier | Wide C string to be filled with requested value; NULL for size inquiry (see ValueSize). |
[in,out] | ValueSize | Gives the buffer size of Value or receives the minimal needed size (including the terminating zero in either case) if Value is NULL ./// |
Todo check if struct is empty
cvbres_t CVOpcSetNIDExpandedText | ( | CVOPCNODEID | NodeId, |
const char * | Identifier | ||
) |
Sets the string representation of a OPCUA NodeId including namespace and type.
[in] | OPCNID | OPCUA NodeId handle. |
[out] | Id | New OPCUA nodeId that uses the string representation (expanded). This string must be 0 terminated. |
cvbbool_t IsCVOPCNodeId | ( | CVOPCNODEID | NodeId | ) |
Tries to check whether given NodeId object is a valid OPCUA NodeId object.
nullptr
.[in] | NodeId | handle to check |