129 NodeId(uint32_t integerId, uint16_t index);
139 *
this =
NodeId(messageId);
145 *
this =
NodeId(referenceId);
205 id.TwoByteData.Identifier = value;
213 id.FourByteData.Identifier = value;
214 id.FourByteData.NamespaceIndex = namespaceIndex;
222 id.NumericData.Identifier = value;
223 id.NumericData.NamespaceIndex = namespaceIndex;
231 id.StringData.Identifier = value;
232 id.StringData.NamespaceIndex = namespaceIndex;
240 id.BinaryData.Identifier = value;
241 id.BinaryData.NamespaceIndex = namespaceIndex;
249 id.GuidData.Identifier = value;
250 id.GuidData.NamespaceIndex = namespaceIndex;
NodeId TwoByteNodeId(uint8_t value)
bool HasNullIdentifier() const
struct OpcUa::NodeId::NumericDataType NumericData
bool operator==(const NodeId &node) const
uint32_t GetNamespaceIndex() const
bool operator<(const NodeId &node) const
Guid GetGuidIdentifier() const
bool HasNamespaceURI() const
struct OpcUa::NodeId::GuidDataType GuidData
std::vector< uint8_t > GetBinaryIdentifier() const
struct OpcUa::NodeId::TwoByteDataType TwoByteData
void SetNamespaceURI(const std::string &uri)
uint32_t GetIntegerIdentifier() const
void SetNamespaceIndex(uint32_t ns)
void SetServerIndex(uint32_t index)
struct OpcUa::NodeId::BinaryDataType BinaryData
NodeId GuidNodeId(Guid value, uint16_t namespaceIndex=0)
struct OpcUa::NodeId::FourByteDataType FourByteData
OPC UA Address space part. GNU LGPL.
std::vector< uint8_t > Identifier
void CopyNodeId(const NodeId &node)
bool HasServerIndex() const
NodeId & operator=(const NodeId &node)
struct OpcUa::NodeId::StringDataType StringData
NodeId BinaryNodeId(std::vector< uint8_t > value, uint16_t namespaceIndex=0)
NodeId StringNodeId(std::string value, uint16_t namespaceIndex=0)
NodeId NumericNodeId(uint32_t value, uint16_t namespaceIndex=0)
bool operator!=(const NodeId &node) const
std::string GetStringIdentifier() const
NodeIdEncoding GetEncodingValue() const
NodeId FourByteNodeId(uint16_t value, uint8_t namespaceIndex=0)