C++ Based OPC UA Client/Server/PubSub SDK
1.7.9.586
|
This is an abstract base class for a decoder. More...
#include <uaabstractdecoder.h>
Inherited by UaBinaryDecoder.
Public Member Functions | |
virtual UaEncoderType | decoderType () const =0 |
Returns the type of the decoder - Binary or Xml. | |
virtual OpcUa_StatusCode | checkNestingDepth ()=0 |
Check if max nesting depth is reached and increment nesting depth otherwise. | |
virtual void | decrementNestingDepth ()=0 |
Decrements nesting depth. More... | |
virtual void | pushNamespace (const UaString &sNamespace)=0 |
Pushes a namespace to the namespace stack. More... | |
virtual void | popNamespace ()=0 |
Pops a namespace from the namespace stack. More... | |
virtual OpcUa_StatusCode | readBoolean (const UaString &sFieldName, OpcUa_Boolean &rValue)=0 |
Reads a Boolean value. More... | |
virtual OpcUa_StatusCode | readByteString (const UaString &sFieldName, UaByteString &rValue)=0 |
Reads a ByteString value. More... | |
virtual OpcUa_StatusCode | readDataValue (const UaString &sFieldName, UaDataValue &rValue)=0 |
Reads a DataValue value. More... | |
virtual OpcUa_StatusCode | readDateTime (const UaString &sFieldName, UaDateTime &rValue)=0 |
Reads a DateTime value. More... | |
virtual OpcUa_StatusCode | readDiagnosticInfo (const UaString &sFieldName, UaDiagnosticInfo &rValue)=0 |
Reads a DiagnosticInfo value. More... | |
virtual OpcUa_StatusCode | readExpandedNodeId (const UaString &sFieldName, UaExpandedNodeId &rValue)=0 |
Reads an ExpandedNodeId value. More... | |
virtual OpcUa_StatusCode | readGuid (const UaString &sFieldName, UaGuid &rValue)=0 |
Reads a Guid value. More... | |
virtual OpcUa_StatusCode | readLocalizedText (const UaString &sFieldName, UaLocalizedText &rValue)=0 |
Reads a LocalizedText value. More... | |
virtual OpcUa_StatusCode | readNodeId (const UaString &sFieldName, UaNodeId &rValue)=0 |
Reads a NodeId value. More... | |
virtual OpcUa_StatusCode | readDouble (const UaString &sFieldName, OpcUa_Double &rValue)=0 |
Reads a Double value. More... | |
virtual OpcUa_StatusCode | readFloat (const UaString &sFieldName, OpcUa_Float &rValue)=0 |
Reads a Float value. More... | |
virtual OpcUa_StatusCode | readInt16 (const UaString &sFieldName, OpcUa_Int16 &rValue)=0 |
Reads an Int16 value. More... | |
virtual OpcUa_StatusCode | readInt32 (const UaString &sFieldName, OpcUa_Int32 &rValue)=0 |
Reads an Int32 value. More... | |
virtual OpcUa_StatusCode | readInt64 (const UaString &sFieldName, OpcUa_Int64 &rValue)=0 |
Reads an Int64 value. More... | |
virtual OpcUa_StatusCode | readSByte (const UaString &sFieldName, OpcUa_SByte &rValue)=0 |
Reads a SByte value. More... | |
virtual OpcUa_StatusCode | readByte (const UaString &sFieldName, OpcUa_Byte &rValue)=0 |
Reads a Byte value. More... | |
virtual OpcUa_StatusCode | readUInt16 (const UaString &sFieldName, OpcUa_UInt16 &rValue)=0 |
Reads an UInt16 value. More... | |
virtual OpcUa_StatusCode | readUInt32 (const UaString &sFieldName, OpcUa_UInt32 &rValue)=0 |
Reads an UInt32 value. More... | |
virtual OpcUa_StatusCode | readUInt64 (const UaString &sFieldName, OpcUa_UInt64 &rValue)=0 |
Reads an UInt64 value. More... | |
virtual OpcUa_StatusCode | readQualifiedName (const UaString &sFieldName, UaQualifiedName &rValue)=0 |
Reads a QualifiedName value. More... | |
virtual OpcUa_StatusCode | readStatusCode (const UaString &sFieldName, UaStatusCode &rValue)=0 |
Reads a StatusCode value. More... | |
virtual OpcUa_StatusCode | readString (const UaString &sFieldName, UaString &rValue)=0 |
Reads a String value. More... | |
virtual OpcUa_StatusCode | readVariant (const UaString &sFieldName, UaVariant &rValue)=0 |
Reads a Variant value. More... | |
virtual OpcUa_StatusCode | readExtensionObject (const UaString &sFieldName, UaExtensionObject &rValue)=0 |
Reads an ExtensionObject value. More... | |
virtual OpcUa_StatusCode | readGenericValue (const UaString &sFieldName, UaGenericStructureValue &rValue)=0 |
Reads a GenericValue value. More... | |
virtual OpcUa_StatusCode | readGenericUnion (const UaString &sFieldName, UaGenericUnionValue &rValue)=0 |
Reads a GenericUnion value. More... | |
virtual OpcUa_StatusCode | readGenericOptionSet (const UaString &sFieldName, UaGenericOptionSetValue &rValue)=0 |
Reads a GenericOptionSet value. More... | |
virtual OpcUa_StatusCode | readXmlElement (const UaString &sFieldName, UaByteString &rValue)=0 |
Reads an XmlElement value. More... | |
virtual OpcUa_StatusCode | readBooleanArray (const UaString &sFieldName, UaBooleanArray &rValue)=0 |
Reads an array of Boolean values. More... | |
virtual OpcUa_StatusCode | readByteStringArray (const UaString &sFieldName, UaByteStringArray &rValue)=0 |
Reads an array of ByteString values. More... | |
virtual OpcUa_StatusCode | readDataValueArray (const UaString &sFieldName, UaDataValues &rValue)=0 |
Reads an array of DataValue values. More... | |
virtual OpcUa_StatusCode | readDateTimeArray (const UaString &sFieldName, UaDateTimeArray &rValue)=0 |
Reads an array of DateTime values. More... | |
virtual OpcUa_StatusCode | readDiagnosticInfoArray (const UaString &sFieldName, UaDiagnosticInfos &rValue)=0 |
Reads an array of DiagnosticInfo values. More... | |
virtual OpcUa_StatusCode | readExpandedNodeIdArray (const UaString &sFieldName, UaExpandedNodeIdArray &rValue)=0 |
Reads an array of NodeId values. More... | |
virtual OpcUa_StatusCode | readGuidArray (const UaString &sFieldName, UaGuidArray &rValue)=0 |
Reads an array of Guid values. More... | |
virtual OpcUa_StatusCode | readLocalizedTextArray (const UaString &sFieldName, UaLocalizedTextArray &rValue)=0 |
Reads an array of LocalizedText values. More... | |
virtual OpcUa_StatusCode | readNodeIdArray (const UaString &sFieldName, UaNodeIdArray &rValue)=0 |
Reads an array of NodeId values. More... | |
virtual OpcUa_StatusCode | readDoubleArray (const UaString &sFieldName, UaDoubleArray &rValue)=0 |
Reads an array of Double values. More... | |
virtual OpcUa_StatusCode | readFloatArray (const UaString &sFieldName, UaFloatArray &rValue)=0 |
Reads an array of Float values. More... | |
virtual OpcUa_StatusCode | readInt16Array (const UaString &sFieldName, UaInt16Array &rValue)=0 |
Reads an array of Int16 values. More... | |
virtual OpcUa_StatusCode | readInt32Array (const UaString &sFieldName, UaInt32Array &rValue)=0 |
Reads an array of Int32 values. More... | |
virtual OpcUa_StatusCode | readInt64Array (const UaString &sFieldName, UaInt64Array &rValue)=0 |
Reads an array of Int64 values. More... | |
virtual OpcUa_StatusCode | readSByteArray (const UaString &sFieldName, UaSByteArray &rValue)=0 |
Reads an array of SByte values. More... | |
virtual OpcUa_StatusCode | readByteArray (const UaString &sFieldName, UaByteArray &rValue)=0 |
Reads an array of Byte values. More... | |
virtual OpcUa_StatusCode | readUInt16Array (const UaString &sFieldName, UaUInt16Array &rValue)=0 |
Reads an array of UInt16 values. More... | |
virtual OpcUa_StatusCode | readUInt32Array (const UaString &sFieldName, UaUInt32Array &rValue)=0 |
Reads an array of UInt32 values. More... | |
virtual OpcUa_StatusCode | readUInt64Array (const UaString &sFieldName, UaUInt64Array &rValue)=0 |
Reads an array of UInt64 values. More... | |
virtual OpcUa_StatusCode | readQualifiedNameArray (const UaString &sFieldName, UaQualifiedNameArray &rValue)=0 |
Reads an array of QualifiedName values. More... | |
virtual OpcUa_StatusCode | readStatusCodeArray (const UaString &sFieldName, UaStatusCodeArray &rValue)=0 |
Reads an array of StatusCode values. More... | |
virtual OpcUa_StatusCode | readStringArray (const UaString &sFieldName, UaStringArray &rValue)=0 |
Reads an array of String values. More... | |
virtual OpcUa_StatusCode | readVariantArray (const UaString &sFieldName, UaVariantArray &rValue)=0 |
Reads an array of Variant values. More... | |
virtual OpcUa_StatusCode | readExtensionObjectArray (const UaString &sFieldName, UaExtensionObjectArray &rValue)=0 |
Reads an array of ExtensionObject values. More... | |
virtual OpcUa_StatusCode | readGenericValueArray (const UaString &sFieldName, std::vector< UaGenericStructureValue > &rValue, UaStructureDefinition structureDefinition)=0 |
Deprecated: Reads an array of GenericValue values. More... | |
virtual OpcUa_StatusCode | readGenericValueArray (const UaString &sFieldName, UaGenericStructureArray &rValue)=0 |
Reads an array of GenericValue values. More... | |
virtual OpcUa_StatusCode | readGenericUnionArray (const UaString &sFieldName, UaGenericUnionArray &rValue)=0 |
Reads an array of GenericUnion values. More... | |
virtual OpcUa_StatusCode | readGenericOptionSetArray (const UaString &sFieldName, UaGenericOptionSetArray &rValue)=0 |
Reads an array of GenericOptionSet values. More... | |
virtual OpcUa_StatusCode | readXmlElementArray (const UaString &sFieldName, UaByteStringArray &rValue)=0 |
Reads an array of XmlElement values. More... | |
This is an abstract base class for a decoder.
The decoder is used for deserializing data to an UaGenericValue.
|
pure virtual |
Decrements nesting depth.
Implemented in UaBinaryDecoder.
|
pure virtual |
Pops a namespace from the namespace stack.
Has to be called after reading a structured or an enumerated DataType.
Implemented in UaBinaryDecoder.
|
pure virtual |
Pushes a namespace to the namespace stack.
The NamespaceUri of a structured or an enumerated DataType has to be pushed before reading it.
Implemented in UaBinaryDecoder.
|
pure virtual |
Reads a Boolean value.
Implemented in UaBinaryDecoder.
|
pure virtual |
Reads an array of Boolean values.
Implemented in UaBinaryDecoder.
|
pure virtual |
Reads a Byte value.
Implemented in UaBinaryDecoder.
|
pure virtual |
Reads an array of Byte values.
Implemented in UaBinaryDecoder.
|
pure virtual |
Reads a ByteString value.
Implemented in UaBinaryDecoder.
|
pure virtual |
Reads an array of ByteString values.
Implemented in UaBinaryDecoder.
|
pure virtual |
Reads a DataValue value.
Implemented in UaBinaryDecoder.
|
pure virtual |
Reads an array of DataValue values.
Implemented in UaBinaryDecoder.
|
pure virtual |
Reads a DateTime value.
Implemented in UaBinaryDecoder.
|
pure virtual |
Reads an array of DateTime values.
Implemented in UaBinaryDecoder.
|
pure virtual |
Reads a DiagnosticInfo value.
Implemented in UaBinaryDecoder.
|
pure virtual |
Reads an array of DiagnosticInfo values.
Implemented in UaBinaryDecoder.
|
pure virtual |
Reads a Double value.
Implemented in UaBinaryDecoder.
|
pure virtual |
Reads an array of Double values.
Implemented in UaBinaryDecoder.
|
pure virtual |
Reads an ExpandedNodeId value.
Implemented in UaBinaryDecoder.
|
pure virtual |
Reads an array of NodeId values.
Implemented in UaBinaryDecoder.
|
pure virtual |
Reads an ExtensionObject value.
Implemented in UaBinaryDecoder.
|
pure virtual |
Reads an array of ExtensionObject values.
Implemented in UaBinaryDecoder.
|
pure virtual |
Reads a Float value.
Implemented in UaBinaryDecoder.
|
pure virtual |
Reads an array of Float values.
Implemented in UaBinaryDecoder.
|
pure virtual |
Reads a GenericOptionSet value.
Implemented in UaBinaryDecoder.
|
pure virtual |
Reads an array of GenericOptionSet values.
Implemented in UaBinaryDecoder.
|
pure virtual |
Reads a GenericUnion value.
Implemented in UaBinaryDecoder.
|
pure virtual |
Reads an array of GenericUnion values.
Implemented in UaBinaryDecoder.
|
pure virtual |
Reads a GenericValue value.
Implemented in UaBinaryDecoder.
|
pure virtual |
Deprecated: Reads an array of GenericValue values.
Implemented in UaBinaryDecoder.
|
pure virtual |
Reads an array of GenericValue values.
Implemented in UaBinaryDecoder.
|
pure virtual |
Reads a Guid value.
Implemented in UaBinaryDecoder.
|
pure virtual |
Reads an array of Guid values.
Implemented in UaBinaryDecoder.
|
pure virtual |
Reads an Int16 value.
Implemented in UaBinaryDecoder.
|
pure virtual |
Reads an array of Int16 values.
Implemented in UaBinaryDecoder.
|
pure virtual |
Reads an Int32 value.
Implemented in UaBinaryDecoder.
|
pure virtual |
Reads an array of Int32 values.
Implemented in UaBinaryDecoder.
|
pure virtual |
Reads an Int64 value.
Implemented in UaBinaryDecoder.
|
pure virtual |
Reads an array of Int64 values.
Implemented in UaBinaryDecoder.
|
pure virtual |
Reads a LocalizedText value.
Implemented in UaBinaryDecoder.
|
pure virtual |
Reads an array of LocalizedText values.
Implemented in UaBinaryDecoder.
|
pure virtual |
Reads a NodeId value.
Implemented in UaBinaryDecoder.
|
pure virtual |
Reads an array of NodeId values.
Implemented in UaBinaryDecoder.
|
pure virtual |
Reads a QualifiedName value.
Implemented in UaBinaryDecoder.
|
pure virtual |
Reads an array of QualifiedName values.
Implemented in UaBinaryDecoder.
|
pure virtual |
Reads a SByte value.
Implemented in UaBinaryDecoder.
|
pure virtual |
Reads an array of SByte values.
Implemented in UaBinaryDecoder.
|
pure virtual |
Reads a StatusCode value.
Implemented in UaBinaryDecoder.
|
pure virtual |
Reads an array of StatusCode values.
Implemented in UaBinaryDecoder.
|
pure virtual |
Reads a String value.
Implemented in UaBinaryDecoder.
|
pure virtual |
Reads an array of String values.
Implemented in UaBinaryDecoder.
|
pure virtual |
Reads an UInt16 value.
Implemented in UaBinaryDecoder.
|
pure virtual |
Reads an array of UInt16 values.
Implemented in UaBinaryDecoder.
|
pure virtual |
Reads an UInt32 value.
Implemented in UaBinaryDecoder.
|
pure virtual |
Reads an array of UInt32 values.
Implemented in UaBinaryDecoder.
|
pure virtual |
Reads an UInt64 value.
Implemented in UaBinaryDecoder.
|
pure virtual |
Reads an array of UInt64 values.
Implemented in UaBinaryDecoder.
|
pure virtual |
Reads a Variant value.
Implemented in UaBinaryDecoder.
|
pure virtual |
Reads an array of Variant values.
Implemented in UaBinaryDecoder.
|
pure virtual |
Reads an XmlElement value.
Implemented in UaBinaryDecoder.
|
pure virtual |
Reads an array of XmlElement values.
Implemented in UaBinaryDecoder.