S2OPC OPCUA Toolkit
Data Structures | Typedefs | Enumerations | Functions | Variables
sopc_encoder.h File Reference
#include "sopc_buffer.h"
#include "sopc_builtintypes.h"
#include "sopc_encodeabletype.h"
#include "sopc_enums.h"

Go to the source code of this file.

Data Structures

struct  SOPC_BuiltInType_Encoding
 Generic built-in type encoding. Provides all the generic service functions for encoding and decoding a built-in type. More...
 

Typedefs

typedef struct SOPC_BuiltInType_Encoding SOPC_BuiltInType_Encoding
 Generic built-in type encoding. Provides all the generic service functions for encoding and decoding a built-in type. More...
 

Enumerations

enum  SOPC_NodeId_DataEncoding {
  SOPC_NodeIdEncoding_TwoBytes = 0x00, SOPC_NodeIdEncoding_FourBytes = 0x01, SOPC_NodeIdEncoding_Numeric = 0x02, SOPC_NodeIdEncoding_String = 0x03,
  SOPC_NodeIdEncoding_Guid = 0x04, SOPC_NodeIdEncoding_ByteString = 0x05, SOPC_NodeIdEncoding_NamespaceUriFlag = 0x80, SOPC_NodeIdEncoding_ServerIndexFlag = 0x40,
  SOPC_NodeIdEncoding_Invalid = 0xFF
}
 
enum  SOPC_DiagInfo_EncodingFlag {
  SOPC_DiagInfoEncoding_SymbolicId = 0x01, SOPC_DiagInfoEncoding_Namespace = 0x02, SOPC_DiagInfoEncoding_LocalizedTest = 0x04, SOPC_DiagInfoEncoding_Locale = 0x08,
  SOPC_DiagInfoEncoding_AdditionalInfo = 0x10, SOPC_DiagInfoEncoding_InnerStatusCode = 0x20, SOPC_DiagInfoEncoding_InnerDianosticInfo = 0x40
}
 
enum  SOPC_LocalizedText_EncodingFlag { SOPC_LocalizedText_Locale = 0x01, SOPC_LocalizedText_Text = 0x02 }
 
enum  SOPC_DataValue_EncodingFlag {
  SOPC_DataValue_NotNullValue = 0x01, SOPC_DataValue_NotGoodStatusCode = 0x02, SOPC_DataValue_NotMinSourceDate = 0x04, SOPC_DataValue_NotMinServerDate = 0x08,
  SOPC_DataValue_NotZeroSourcePico = 0x10, SOPC_DataValue_NotZeroServerPico = 0x20
}
 

Functions

SOPC_ReturnStatus SOPC_Byte_Write (const SOPC_Byte *value, SOPC_Buffer *buf, uint32_t nestedStructLevel)
 
SOPC_ReturnStatus SOPC_Byte_WriteAux (const void *value, SOPC_Buffer *buf, uint32_t nestedStructLevel)
 
SOPC_ReturnStatus SOPC_Byte_Read (SOPC_Byte *value, SOPC_Buffer *buf, uint32_t nestedStructLevel)
 
SOPC_ReturnStatus SOPC_Byte_ReadAux (void *value, SOPC_Buffer *buf, uint32_t nestedStructLevel)
 
SOPC_ReturnStatus SOPC_Boolean_Write (const SOPC_Boolean *value, SOPC_Buffer *buf, uint32_t nestedStructLevel)
 
SOPC_ReturnStatus SOPC_Boolean_WriteAux (const void *value, SOPC_Buffer *buf, uint32_t nestedStructLevel)
 
SOPC_ReturnStatus SOPC_Boolean_Read (SOPC_Boolean *value, SOPC_Buffer *buf, uint32_t nestedStructLevel)
 
SOPC_ReturnStatus SOPC_Boolean_ReadAux (void *value, SOPC_Buffer *buf, uint32_t nestedStructLevel)
 
SOPC_ReturnStatus SOPC_SByte_Write (const SOPC_SByte *value, SOPC_Buffer *buf, uint32_t nestedStructLevel)
 
SOPC_ReturnStatus SOPC_SByte_WriteAux (const void *value, SOPC_Buffer *buf, uint32_t nestedStructLevel)
 
SOPC_ReturnStatus SOPC_SByte_Read (SOPC_SByte *value, SOPC_Buffer *buf, uint32_t nestedStructLevel)
 
SOPC_ReturnStatus SOPC_SByte_ReadAux (void *value, SOPC_Buffer *buf, uint32_t nestedStructLevel)
 
SOPC_ReturnStatus SOPC_Int16_Write (const int16_t *value, SOPC_Buffer *buf, uint32_t nestedStructLevel)
 
SOPC_ReturnStatus SOPC_Int16_WriteAux (const void *value, SOPC_Buffer *buf, uint32_t nestedStructLevel)
 
SOPC_ReturnStatus SOPC_Int16_Read (int16_t *value, SOPC_Buffer *buf, uint32_t nestedStructLevel)
 
SOPC_ReturnStatus SOPC_Int16_ReadAux (void *value, SOPC_Buffer *buf, uint32_t nestedStructLevel)
 
SOPC_ReturnStatus SOPC_UInt16_Write (const uint16_t *value, SOPC_Buffer *buf, uint32_t nestedStructLevel)
 
SOPC_ReturnStatus SOPC_UInt16_WriteAux (const void *value, SOPC_Buffer *buf, uint32_t nestedStructLevel)
 
SOPC_ReturnStatus SOPC_UInt16_Read (uint16_t *value, SOPC_Buffer *buf, uint32_t nestedStructLevel)
 
SOPC_ReturnStatus SOPC_UInt16_ReadAux (void *value, SOPC_Buffer *buf, uint32_t nestedStructLevel)
 
SOPC_ReturnStatus SOPC_Int32_Write (const int32_t *value, SOPC_Buffer *buf, uint32_t nestedStructLevel)
 
SOPC_ReturnStatus SOPC_Int32_WriteAux (const void *value, SOPC_Buffer *buf, uint32_t nestedStructLevel)
 
SOPC_ReturnStatus SOPC_Int32_Read (int32_t *value, SOPC_Buffer *buf, uint32_t nestedStructLevel)
 
SOPC_ReturnStatus SOPC_Int32_ReadAux (void *value, SOPC_Buffer *buf, uint32_t nestedStructLevel)
 
SOPC_ReturnStatus SOPC_UInt32_Write (const uint32_t *value, SOPC_Buffer *buf, uint32_t nestedStructLevel)
 
SOPC_ReturnStatus SOPC_UInt32_WriteAux (const void *value, SOPC_Buffer *buf, uint32_t nestedStructLevel)
 
SOPC_ReturnStatus SOPC_UInt32_Read (uint32_t *value, SOPC_Buffer *buf, uint32_t nestedStructLevel)
 
SOPC_ReturnStatus SOPC_UInt32_ReadAux (void *value, SOPC_Buffer *buf, uint32_t nestedStructLevel)
 
SOPC_ReturnStatus SOPC_Int64_Write (const int64_t *value, SOPC_Buffer *buf, uint32_t nestedStructLevel)
 
SOPC_ReturnStatus SOPC_Int64_WriteAux (const void *value, SOPC_Buffer *buf, uint32_t nestedStructLevel)
 
SOPC_ReturnStatus SOPC_Int64_Read (int64_t *value, SOPC_Buffer *buf, uint32_t nestedStructLevel)
 
SOPC_ReturnStatus SOPC_Int64_ReadAux (void *value, SOPC_Buffer *buf, uint32_t nestedStructLevel)
 
SOPC_ReturnStatus SOPC_UInt64_Write (const uint64_t *value, SOPC_Buffer *buf, uint32_t nestedStructLevel)
 
SOPC_ReturnStatus SOPC_UInt64_WriteAux (const void *value, SOPC_Buffer *buf, uint32_t nestedStructLevel)
 
SOPC_ReturnStatus SOPC_UInt64_Read (uint64_t *value, SOPC_Buffer *buf, uint32_t nestedStructLevel)
 
SOPC_ReturnStatus SOPC_UInt64_ReadAux (void *value, SOPC_Buffer *buf, uint32_t nestedStructLevel)
 
SOPC_ReturnStatus SOPC_Float_Write (const float *value, SOPC_Buffer *buf, uint32_t nestedStructLevel)
 
SOPC_ReturnStatus SOPC_Float_WriteAux (const void *value, SOPC_Buffer *buf, uint32_t nestedStructLevel)
 
SOPC_ReturnStatus SOPC_Float_Read (float *value, SOPC_Buffer *buf, uint32_t nestedStructLevel)
 
SOPC_ReturnStatus SOPC_Float_ReadAux (void *value, SOPC_Buffer *buf, uint32_t nestedStructLevel)
 
SOPC_ReturnStatus SOPC_Double_Write (const double *value, SOPC_Buffer *buf, uint32_t nestedStructLevel)
 
SOPC_ReturnStatus SOPC_Double_WriteAux (const void *value, SOPC_Buffer *buf, uint32_t nestedStructLevel)
 
SOPC_ReturnStatus SOPC_Double_Read (double *value, SOPC_Buffer *buf, uint32_t nestedStructLevel)
 
SOPC_ReturnStatus SOPC_Double_ReadAux (void *value, SOPC_Buffer *buf, uint32_t nestedStructLevel)
 
SOPC_ReturnStatus SOPC_DateTime_Write (const SOPC_DateTime *date, SOPC_Buffer *buf, uint32_t nestedStructLevel)
 
SOPC_ReturnStatus SOPC_DateTime_WriteAux (const void *value, SOPC_Buffer *buf, uint32_t nestedStructLevel)
 
SOPC_ReturnStatus SOPC_DateTime_Read (SOPC_DateTime *date, SOPC_Buffer *buf, uint32_t nestedStructLevel)
 
SOPC_ReturnStatus SOPC_DateTime_ReadAux (void *value, SOPC_Buffer *buf, uint32_t nestedStructLevel)
 
SOPC_ReturnStatus SOPC_ByteString_Write (const SOPC_ByteString *str, SOPC_Buffer *buf, uint32_t nestedStructLevel)
 
SOPC_ReturnStatus SOPC_ByteString_WriteAux (const void *value, SOPC_Buffer *buf, uint32_t nestedStructLevel)
 
SOPC_ReturnStatus SOPC_ByteString_Read (SOPC_ByteString *str, SOPC_Buffer *buf, uint32_t nestedStructLevel)
 
SOPC_ReturnStatus SOPC_ByteString_ReadAux (void *value, SOPC_Buffer *buf, uint32_t nestedStructLevel)
 
SOPC_ReturnStatus SOPC_String_Write (const SOPC_String *str, SOPC_Buffer *buf, uint32_t nestedStructLevel)
 
SOPC_ReturnStatus SOPC_String_WriteAux (const void *value, SOPC_Buffer *buf, uint32_t nestedStructLevel)
 
SOPC_ReturnStatus SOPC_String_Read (SOPC_String *str, SOPC_Buffer *buf, uint32_t nestedStructLevel)
 
SOPC_ReturnStatus SOPC_String_ReadWithLimitedLength (SOPC_String *str, int32_t maxLength, SOPC_Buffer *buf, uint32_t nestedStructLevel)
 
SOPC_ReturnStatus SOPC_String_ReadAux (void *value, SOPC_Buffer *buf, uint32_t nestedStructLevel)
 
SOPC_ReturnStatus SOPC_XmlElement_Write (const SOPC_XmlElement *xml, SOPC_Buffer *buf, uint32_t nestedStructLevel)
 
SOPC_ReturnStatus SOPC_XmlElement_WriteAux (const void *value, SOPC_Buffer *buf, uint32_t nestedStructLevel)
 
SOPC_ReturnStatus SOPC_XmlElement_Read (SOPC_XmlElement *xml, SOPC_Buffer *buf, uint32_t nestedStructLevel)
 
SOPC_ReturnStatus SOPC_XmlElement_ReadAux (void *value, SOPC_Buffer *buf, uint32_t nestedStructLevel)
 
SOPC_ReturnStatus SOPC_Guid_Write (const SOPC_Guid *guid, SOPC_Buffer *buf, uint32_t nestedStructLevel)
 
SOPC_ReturnStatus SOPC_Guid_WriteAux (const void *value, SOPC_Buffer *buf, uint32_t nestedStructLevel)
 
SOPC_ReturnStatus SOPC_Guid_Read (SOPC_Guid *guid, SOPC_Buffer *buf, uint32_t nestedStructLevel)
 
SOPC_ReturnStatus SOPC_Guid_ReadAux (void *value, SOPC_Buffer *buf, uint32_t nestedStructLevel)
 
SOPC_ReturnStatus SOPC_NodeId_Write (const SOPC_NodeId *nodeId, SOPC_Buffer *buf, uint32_t nestedStructLevel)
 
SOPC_ReturnStatus SOPC_NodeId_WriteAux (const void *value, SOPC_Buffer *buf, uint32_t nestedStructLevel)
 
SOPC_ReturnStatus SOPC_NodeId_Read (SOPC_NodeId *nodeId, SOPC_Buffer *buf, uint32_t nestedStructLevel)
 
SOPC_ReturnStatus SOPC_NodeId_ReadAux (void *value, SOPC_Buffer *buf, uint32_t nestedStructLevel)
 
SOPC_ReturnStatus SOPC_ExpandedNodeId_Write (const SOPC_ExpandedNodeId *expNodeId, SOPC_Buffer *buf, uint32_t nestedStructLevel)
 
SOPC_ReturnStatus SOPC_ExpandedNodeId_WriteAux (const void *value, SOPC_Buffer *buf, uint32_t nestedStructLevel)
 
SOPC_ReturnStatus SOPC_ExpandedNodeId_Read (SOPC_ExpandedNodeId *expNodeId, SOPC_Buffer *buf, uint32_t nestedStructLevel)
 
SOPC_ReturnStatus SOPC_ExpandedNodeId_ReadAux (void *value, SOPC_Buffer *buf, uint32_t nestedStructLevel)
 
SOPC_ReturnStatus SOPC_StatusCode_Write (const SOPC_StatusCode *status, SOPC_Buffer *buf, uint32_t nestedStructLevel)
 
SOPC_ReturnStatus SOPC_StatusCode_WriteAux (const void *value, SOPC_Buffer *buf, uint32_t nestedStructLevel)
 
SOPC_ReturnStatus SOPC_StatusCode_Read (SOPC_StatusCode *status, SOPC_Buffer *buf, uint32_t nestedStructLevel)
 
SOPC_ReturnStatus SOPC_StatusCode_ReadAux (void *value, SOPC_Buffer *buf, uint32_t nestedStructLevel)
 
SOPC_ReturnStatus SOPC_DiagnosticInfo_Write (const SOPC_DiagnosticInfo *diagInfo, SOPC_Buffer *buf, uint32_t nestedStructLevel)
 
SOPC_ReturnStatus SOPC_DiagnosticInfo_WriteAux (const void *value, SOPC_Buffer *buf, uint32_t nestedStructLevel)
 
SOPC_ReturnStatus SOPC_DiagnosticInfo_Read (SOPC_DiagnosticInfo *diagInfo, SOPC_Buffer *buf, uint32_t nestedStructLevel)
 
SOPC_ReturnStatus SOPC_DiagnosticInfo_ReadAux (void *value, SOPC_Buffer *buf, uint32_t nestedStructLevel)
 
SOPC_ReturnStatus SOPC_QualifiedName_Write (const SOPC_QualifiedName *qname, SOPC_Buffer *buf, uint32_t nestedStructLevel)
 
SOPC_ReturnStatus SOPC_QualifiedName_WriteAux (const void *value, SOPC_Buffer *buf, uint32_t nestedStructLevel)
 
SOPC_ReturnStatus SOPC_QualifiedName_Read (SOPC_QualifiedName *qname, SOPC_Buffer *buf, uint32_t nestedStructLevel)
 
SOPC_ReturnStatus SOPC_QualifiedName_ReadAux (void *value, SOPC_Buffer *buf, uint32_t nestedStructLevel)
 
SOPC_ReturnStatus SOPC_LocalizedText_Write (const SOPC_LocalizedText *localizedText, SOPC_Buffer *buf, uint32_t nestedStructLevel)
 
SOPC_ReturnStatus SOPC_LocalizedText_WriteAux (const void *value, SOPC_Buffer *buf, uint32_t nestedStructLevel)
 
SOPC_ReturnStatus SOPC_LocalizedText_Read (SOPC_LocalizedText *localizedText, SOPC_Buffer *buf, uint32_t nestedStructLevel)
 
SOPC_ReturnStatus SOPC_LocalizedText_ReadAux (void *value, SOPC_Buffer *buf, uint32_t nestedStructLevel)
 
SOPC_ReturnStatus SOPC_ExtensionObject_Write (const SOPC_ExtensionObject *extObj, SOPC_Buffer *buf, uint32_t nestedStructLevel)
 
SOPC_ReturnStatus SOPC_ExtensionObject_WriteAux (const void *value, SOPC_Buffer *buf, uint32_t nestedStructLevel)
 
SOPC_ReturnStatus SOPC_ExtensionObject_Read (SOPC_ExtensionObject *extObj, SOPC_Buffer *buf, uint32_t nestedStructLevel)
 
SOPC_ReturnStatus SOPC_ExtensionObject_ReadAux (void *value, SOPC_Buffer *buf, uint32_t nestedStructLevel)
 
SOPC_ReturnStatus SOPC_Variant_Write (const SOPC_Variant *variant, SOPC_Buffer *buf, uint32_t nestedStructLevel)
 
SOPC_ReturnStatus SOPC_Variant_WriteAux (const void *value, SOPC_Buffer *buf, uint32_t nestedStructLevel)
 
SOPC_ReturnStatus SOPC_Variant_WriteAux_Nested (const void *value, SOPC_Buffer *buf, uint32_t nestedStructLevel)
 
SOPC_ReturnStatus SOPC_Variant_Read (SOPC_Variant *variant, SOPC_Buffer *buf, uint32_t nestedStructLevel)
 
SOPC_ReturnStatus SOPC_Variant_ReadAux (void *value, SOPC_Buffer *buf, uint32_t nestedStructLevel)
 
SOPC_ReturnStatus SOPC_Variant_ReadAux_Nested (void *value, SOPC_Buffer *buf, uint32_t nestedStructLevel)
 
SOPC_ReturnStatus SOPC_DataValue_Write (const SOPC_DataValue *dataValue, SOPC_Buffer *buf, uint32_t nestedStructLevel)
 
SOPC_ReturnStatus SOPC_DataValue_WriteAux (const void *value, SOPC_Buffer *buf, uint32_t nestedStructLevel)
 
SOPC_ReturnStatus SOPC_DataValue_WriteAux_Nested (const void *value, SOPC_Buffer *buf, uint32_t nestedStructLevel)
 
SOPC_ReturnStatus SOPC_DataValue_Read (SOPC_DataValue *dataValue, SOPC_Buffer *buf, uint32_t nestedStructLevel)
 
SOPC_ReturnStatus SOPC_DataValue_ReadAux (void *value, SOPC_Buffer *buf, uint32_t nestedStructLevel)
 
SOPC_ReturnStatus SOPC_DataValue_ReadAux_Nested (void *value, SOPC_Buffer *buf, uint32_t nestedStructLevel)
 
SOPC_ReturnStatus SOPC_Read_Array (SOPC_Buffer *msgBuf, int32_t *noOfElts, void **eltsArray, size_t sizeOfElt, SOPC_EncodeableObject_PfnDecode *decodeFct, SOPC_EncodeableObject_PfnInitialize *initializeFct, SOPC_EncodeableObject_PfnClear *clearFct, uint32_t nestedStructLevel)
 
SOPC_ReturnStatus SOPC_Write_Array (SOPC_Buffer *msgBuf, const int32_t *const noOfElts, const void *const *eltsArray, size_t sizeOfElt, SOPC_EncodeableObject_PfnEncode *encodeFct, uint32_t nestedStructLevel)
 
SOPC_ReturnStatus SOPC_EncodeMsg_Type_Header_Body (SOPC_Buffer *buf, SOPC_EncodeableType *encType, SOPC_EncodeableType *headerType, void *msgHeader, void *msgBody)
 
SOPC_ReturnStatus SOPC_MsgBodyType_Read (SOPC_Buffer *buf, SOPC_EncodeableType **receivedEncType)
 
SOPC_ReturnStatus SOPC_DecodeMsg_HeaderOrBody (SOPC_Buffer *buffer, SOPC_EncodeableType *msgEncType, void **encodeableObj)
 

Variables

const SOPC_BuiltInType_Encoding SOPC_BuiltInType_EncodingTable [SOPC_BUILTINID_MAX+1]
 Table of all built-in type encoding. To be indexed with a SOPC_BuiltinId. Provides all the generic encoding and decoding functions associated with each built-in type. More...
 

Typedef Documentation

◆ SOPC_BuiltInType_Encoding

Generic built-in type encoding. Provides all the generic service functions for encoding and decoding a built-in type.

Enumeration Type Documentation

◆ SOPC_NodeId_DataEncoding

Enumerator
SOPC_NodeIdEncoding_TwoBytes 
SOPC_NodeIdEncoding_FourBytes 
SOPC_NodeIdEncoding_Numeric 
SOPC_NodeIdEncoding_String 
SOPC_NodeIdEncoding_Guid 
SOPC_NodeIdEncoding_ByteString 
SOPC_NodeIdEncoding_NamespaceUriFlag 
SOPC_NodeIdEncoding_ServerIndexFlag 
SOPC_NodeIdEncoding_Invalid 

◆ SOPC_DiagInfo_EncodingFlag

Enumerator
SOPC_DiagInfoEncoding_SymbolicId 
SOPC_DiagInfoEncoding_Namespace 
SOPC_DiagInfoEncoding_LocalizedTest 
SOPC_DiagInfoEncoding_Locale 
SOPC_DiagInfoEncoding_AdditionalInfo 
SOPC_DiagInfoEncoding_InnerStatusCode 
SOPC_DiagInfoEncoding_InnerDianosticInfo 

◆ SOPC_LocalizedText_EncodingFlag

Enumerator
SOPC_LocalizedText_Locale 
SOPC_LocalizedText_Text 

◆ SOPC_DataValue_EncodingFlag

Enumerator
SOPC_DataValue_NotNullValue 
SOPC_DataValue_NotGoodStatusCode 
SOPC_DataValue_NotMinSourceDate 
SOPC_DataValue_NotMinServerDate 
SOPC_DataValue_NotZeroSourcePico 
SOPC_DataValue_NotZeroServerPico 

Function Documentation

◆ SOPC_Byte_Write()

SOPC_ReturnStatus SOPC_Byte_Write ( const SOPC_Byte value,
SOPC_Buffer buf,
uint32_t  nestedStructLevel 
)

Note: SOPC_*_Write operations return SOPC_STATUS_WOULD_BLOCK if not enough bytes available in buffer to write the value

◆ SOPC_Byte_WriteAux()

SOPC_ReturnStatus SOPC_Byte_WriteAux ( const void *  value,
SOPC_Buffer buf,
uint32_t  nestedStructLevel 
)

◆ SOPC_Byte_Read()

SOPC_ReturnStatus SOPC_Byte_Read ( SOPC_Byte value,
SOPC_Buffer buf,
uint32_t  nestedStructLevel 
)

◆ SOPC_Byte_ReadAux()

SOPC_ReturnStatus SOPC_Byte_ReadAux ( void *  value,
SOPC_Buffer buf,
uint32_t  nestedStructLevel 
)

◆ SOPC_Boolean_Write()

SOPC_ReturnStatus SOPC_Boolean_Write ( const SOPC_Boolean value,
SOPC_Buffer buf,
uint32_t  nestedStructLevel 
)

◆ SOPC_Boolean_WriteAux()

SOPC_ReturnStatus SOPC_Boolean_WriteAux ( const void *  value,
SOPC_Buffer buf,
uint32_t  nestedStructLevel 
)

◆ SOPC_Boolean_Read()

SOPC_ReturnStatus SOPC_Boolean_Read ( SOPC_Boolean value,
SOPC_Buffer buf,
uint32_t  nestedStructLevel 
)

◆ SOPC_Boolean_ReadAux()

SOPC_ReturnStatus SOPC_Boolean_ReadAux ( void *  value,
SOPC_Buffer buf,
uint32_t  nestedStructLevel 
)

◆ SOPC_SByte_Write()

SOPC_ReturnStatus SOPC_SByte_Write ( const SOPC_SByte value,
SOPC_Buffer buf,
uint32_t  nestedStructLevel 
)

◆ SOPC_SByte_WriteAux()

SOPC_ReturnStatus SOPC_SByte_WriteAux ( const void *  value,
SOPC_Buffer buf,
uint32_t  nestedStructLevel 
)

◆ SOPC_SByte_Read()

SOPC_ReturnStatus SOPC_SByte_Read ( SOPC_SByte value,
SOPC_Buffer buf,
uint32_t  nestedStructLevel 
)

◆ SOPC_SByte_ReadAux()

SOPC_ReturnStatus SOPC_SByte_ReadAux ( void *  value,
SOPC_Buffer buf,
uint32_t  nestedStructLevel 
)

◆ SOPC_Int16_Write()

SOPC_ReturnStatus SOPC_Int16_Write ( const int16_t *  value,
SOPC_Buffer buf,
uint32_t  nestedStructLevel 
)

◆ SOPC_Int16_WriteAux()

SOPC_ReturnStatus SOPC_Int16_WriteAux ( const void *  value,
SOPC_Buffer buf,
uint32_t  nestedStructLevel 
)

◆ SOPC_Int16_Read()

SOPC_ReturnStatus SOPC_Int16_Read ( int16_t *  value,
SOPC_Buffer buf,
uint32_t  nestedStructLevel 
)

◆ SOPC_Int16_ReadAux()

SOPC_ReturnStatus SOPC_Int16_ReadAux ( void *  value,
SOPC_Buffer buf,
uint32_t  nestedStructLevel 
)

◆ SOPC_UInt16_Write()

SOPC_ReturnStatus SOPC_UInt16_Write ( const uint16_t *  value,
SOPC_Buffer buf,
uint32_t  nestedStructLevel 
)

◆ SOPC_UInt16_WriteAux()

SOPC_ReturnStatus SOPC_UInt16_WriteAux ( const void *  value,
SOPC_Buffer buf,
uint32_t  nestedStructLevel 
)

◆ SOPC_UInt16_Read()

SOPC_ReturnStatus SOPC_UInt16_Read ( uint16_t *  value,
SOPC_Buffer buf,
uint32_t  nestedStructLevel 
)

◆ SOPC_UInt16_ReadAux()

SOPC_ReturnStatus SOPC_UInt16_ReadAux ( void *  value,
SOPC_Buffer buf,
uint32_t  nestedStructLevel 
)

◆ SOPC_Int32_Write()

SOPC_ReturnStatus SOPC_Int32_Write ( const int32_t *  value,
SOPC_Buffer buf,
uint32_t  nestedStructLevel 
)

◆ SOPC_Int32_WriteAux()

SOPC_ReturnStatus SOPC_Int32_WriteAux ( const void *  value,
SOPC_Buffer buf,
uint32_t  nestedStructLevel 
)

◆ SOPC_Int32_Read()

SOPC_ReturnStatus SOPC_Int32_Read ( int32_t *  value,
SOPC_Buffer buf,
uint32_t  nestedStructLevel 
)

◆ SOPC_Int32_ReadAux()

SOPC_ReturnStatus SOPC_Int32_ReadAux ( void *  value,
SOPC_Buffer buf,
uint32_t  nestedStructLevel 
)

◆ SOPC_UInt32_Write()

SOPC_ReturnStatus SOPC_UInt32_Write ( const uint32_t *  value,
SOPC_Buffer buf,
uint32_t  nestedStructLevel 
)

◆ SOPC_UInt32_WriteAux()

SOPC_ReturnStatus SOPC_UInt32_WriteAux ( const void *  value,
SOPC_Buffer buf,
uint32_t  nestedStructLevel 
)

◆ SOPC_UInt32_Read()

SOPC_ReturnStatus SOPC_UInt32_Read ( uint32_t *  value,
SOPC_Buffer buf,
uint32_t  nestedStructLevel 
)

◆ SOPC_UInt32_ReadAux()

SOPC_ReturnStatus SOPC_UInt32_ReadAux ( void *  value,
SOPC_Buffer buf,
uint32_t  nestedStructLevel 
)

◆ SOPC_Int64_Write()

SOPC_ReturnStatus SOPC_Int64_Write ( const int64_t *  value,
SOPC_Buffer buf,
uint32_t  nestedStructLevel 
)

◆ SOPC_Int64_WriteAux()

SOPC_ReturnStatus SOPC_Int64_WriteAux ( const void *  value,
SOPC_Buffer buf,
uint32_t  nestedStructLevel 
)

◆ SOPC_Int64_Read()

SOPC_ReturnStatus SOPC_Int64_Read ( int64_t *  value,
SOPC_Buffer buf,
uint32_t  nestedStructLevel 
)

◆ SOPC_Int64_ReadAux()

SOPC_ReturnStatus SOPC_Int64_ReadAux ( void *  value,
SOPC_Buffer buf,
uint32_t  nestedStructLevel 
)

◆ SOPC_UInt64_Write()

SOPC_ReturnStatus SOPC_UInt64_Write ( const uint64_t *  value,
SOPC_Buffer buf,
uint32_t  nestedStructLevel 
)

◆ SOPC_UInt64_WriteAux()

SOPC_ReturnStatus SOPC_UInt64_WriteAux ( const void *  value,
SOPC_Buffer buf,
uint32_t  nestedStructLevel 
)

◆ SOPC_UInt64_Read()

SOPC_ReturnStatus SOPC_UInt64_Read ( uint64_t *  value,
SOPC_Buffer buf,
uint32_t  nestedStructLevel 
)

◆ SOPC_UInt64_ReadAux()

SOPC_ReturnStatus SOPC_UInt64_ReadAux ( void *  value,
SOPC_Buffer buf,
uint32_t  nestedStructLevel 
)

◆ SOPC_Float_Write()

SOPC_ReturnStatus SOPC_Float_Write ( const float *  value,
SOPC_Buffer buf,
uint32_t  nestedStructLevel 
)

◆ SOPC_Float_WriteAux()

SOPC_ReturnStatus SOPC_Float_WriteAux ( const void *  value,
SOPC_Buffer buf,
uint32_t  nestedStructLevel 
)

◆ SOPC_Float_Read()

SOPC_ReturnStatus SOPC_Float_Read ( float *  value,
SOPC_Buffer buf,
uint32_t  nestedStructLevel 
)

◆ SOPC_Float_ReadAux()

SOPC_ReturnStatus SOPC_Float_ReadAux ( void *  value,
SOPC_Buffer buf,
uint32_t  nestedStructLevel 
)

◆ SOPC_Double_Write()

SOPC_ReturnStatus SOPC_Double_Write ( const double *  value,
SOPC_Buffer buf,
uint32_t  nestedStructLevel 
)

◆ SOPC_Double_WriteAux()

SOPC_ReturnStatus SOPC_Double_WriteAux ( const void *  value,
SOPC_Buffer buf,
uint32_t  nestedStructLevel 
)

◆ SOPC_Double_Read()

SOPC_ReturnStatus SOPC_Double_Read ( double *  value,
SOPC_Buffer buf,
uint32_t  nestedStructLevel 
)

◆ SOPC_Double_ReadAux()

SOPC_ReturnStatus SOPC_Double_ReadAux ( void *  value,
SOPC_Buffer buf,
uint32_t  nestedStructLevel 
)

◆ SOPC_DateTime_Write()

SOPC_ReturnStatus SOPC_DateTime_Write ( const SOPC_DateTime date,
SOPC_Buffer buf,
uint32_t  nestedStructLevel 
)

◆ SOPC_DateTime_WriteAux()

SOPC_ReturnStatus SOPC_DateTime_WriteAux ( const void *  value,
SOPC_Buffer buf,
uint32_t  nestedStructLevel 
)

◆ SOPC_DateTime_Read()

SOPC_ReturnStatus SOPC_DateTime_Read ( SOPC_DateTime date,
SOPC_Buffer buf,
uint32_t  nestedStructLevel 
)

◆ SOPC_DateTime_ReadAux()

SOPC_ReturnStatus SOPC_DateTime_ReadAux ( void *  value,
SOPC_Buffer buf,
uint32_t  nestedStructLevel 
)

◆ SOPC_ByteString_Write()

SOPC_ReturnStatus SOPC_ByteString_Write ( const SOPC_ByteString str,
SOPC_Buffer buf,
uint32_t  nestedStructLevel 
)

◆ SOPC_ByteString_WriteAux()

SOPC_ReturnStatus SOPC_ByteString_WriteAux ( const void *  value,
SOPC_Buffer buf,
uint32_t  nestedStructLevel 
)

◆ SOPC_ByteString_Read()

SOPC_ReturnStatus SOPC_ByteString_Read ( SOPC_ByteString str,
SOPC_Buffer buf,
uint32_t  nestedStructLevel 
)

◆ SOPC_ByteString_ReadAux()

SOPC_ReturnStatus SOPC_ByteString_ReadAux ( void *  value,
SOPC_Buffer buf,
uint32_t  nestedStructLevel 
)

◆ SOPC_String_Write()

SOPC_ReturnStatus SOPC_String_Write ( const SOPC_String str,
SOPC_Buffer buf,
uint32_t  nestedStructLevel 
)

◆ SOPC_String_WriteAux()

SOPC_ReturnStatus SOPC_String_WriteAux ( const void *  value,
SOPC_Buffer buf,
uint32_t  nestedStructLevel 
)

◆ SOPC_String_Read()

SOPC_ReturnStatus SOPC_String_Read ( SOPC_String str,
SOPC_Buffer buf,
uint32_t  nestedStructLevel 
)

◆ SOPC_String_ReadWithLimitedLength()

SOPC_ReturnStatus SOPC_String_ReadWithLimitedLength ( SOPC_String str,
int32_t  maxLength,
SOPC_Buffer buf,
uint32_t  nestedStructLevel 
)

◆ SOPC_String_ReadAux()

SOPC_ReturnStatus SOPC_String_ReadAux ( void *  value,
SOPC_Buffer buf,
uint32_t  nestedStructLevel 
)

◆ SOPC_XmlElement_Write()

SOPC_ReturnStatus SOPC_XmlElement_Write ( const SOPC_XmlElement xml,
SOPC_Buffer buf,
uint32_t  nestedStructLevel 
)

◆ SOPC_XmlElement_WriteAux()

SOPC_ReturnStatus SOPC_XmlElement_WriteAux ( const void *  value,
SOPC_Buffer buf,
uint32_t  nestedStructLevel 
)

◆ SOPC_XmlElement_Read()

SOPC_ReturnStatus SOPC_XmlElement_Read ( SOPC_XmlElement xml,
SOPC_Buffer buf,
uint32_t  nestedStructLevel 
)

◆ SOPC_XmlElement_ReadAux()

SOPC_ReturnStatus SOPC_XmlElement_ReadAux ( void *  value,
SOPC_Buffer buf,
uint32_t  nestedStructLevel 
)

◆ SOPC_Guid_Write()

SOPC_ReturnStatus SOPC_Guid_Write ( const SOPC_Guid guid,
SOPC_Buffer buf,
uint32_t  nestedStructLevel 
)

◆ SOPC_Guid_WriteAux()

SOPC_ReturnStatus SOPC_Guid_WriteAux ( const void *  value,
SOPC_Buffer buf,
uint32_t  nestedStructLevel 
)

◆ SOPC_Guid_Read()

SOPC_ReturnStatus SOPC_Guid_Read ( SOPC_Guid guid,
SOPC_Buffer buf,
uint32_t  nestedStructLevel 
)

◆ SOPC_Guid_ReadAux()

SOPC_ReturnStatus SOPC_Guid_ReadAux ( void *  value,
SOPC_Buffer buf,
uint32_t  nestedStructLevel 
)

◆ SOPC_NodeId_Write()

SOPC_ReturnStatus SOPC_NodeId_Write ( const SOPC_NodeId nodeId,
SOPC_Buffer buf,
uint32_t  nestedStructLevel 
)

◆ SOPC_NodeId_WriteAux()

SOPC_ReturnStatus SOPC_NodeId_WriteAux ( const void *  value,
SOPC_Buffer buf,
uint32_t  nestedStructLevel 
)

◆ SOPC_NodeId_Read()

SOPC_ReturnStatus SOPC_NodeId_Read ( SOPC_NodeId nodeId,
SOPC_Buffer buf,
uint32_t  nestedStructLevel 
)

◆ SOPC_NodeId_ReadAux()

SOPC_ReturnStatus SOPC_NodeId_ReadAux ( void *  value,
SOPC_Buffer buf,
uint32_t  nestedStructLevel 
)

◆ SOPC_ExpandedNodeId_Write()

SOPC_ReturnStatus SOPC_ExpandedNodeId_Write ( const SOPC_ExpandedNodeId expNodeId,
SOPC_Buffer buf,
uint32_t  nestedStructLevel 
)

◆ SOPC_ExpandedNodeId_WriteAux()

SOPC_ReturnStatus SOPC_ExpandedNodeId_WriteAux ( const void *  value,
SOPC_Buffer buf,
uint32_t  nestedStructLevel 
)

◆ SOPC_ExpandedNodeId_Read()

SOPC_ReturnStatus SOPC_ExpandedNodeId_Read ( SOPC_ExpandedNodeId expNodeId,
SOPC_Buffer buf,
uint32_t  nestedStructLevel 
)

◆ SOPC_ExpandedNodeId_ReadAux()

SOPC_ReturnStatus SOPC_ExpandedNodeId_ReadAux ( void *  value,
SOPC_Buffer buf,
uint32_t  nestedStructLevel 
)

◆ SOPC_StatusCode_Write()

SOPC_ReturnStatus SOPC_StatusCode_Write ( const SOPC_StatusCode status,
SOPC_Buffer buf,
uint32_t  nestedStructLevel 
)

◆ SOPC_StatusCode_WriteAux()

SOPC_ReturnStatus SOPC_StatusCode_WriteAux ( const void *  value,
SOPC_Buffer buf,
uint32_t  nestedStructLevel 
)

◆ SOPC_StatusCode_Read()

SOPC_ReturnStatus SOPC_StatusCode_Read ( SOPC_StatusCode status,
SOPC_Buffer buf,
uint32_t  nestedStructLevel 
)

◆ SOPC_StatusCode_ReadAux()

SOPC_ReturnStatus SOPC_StatusCode_ReadAux ( void *  value,
SOPC_Buffer buf,
uint32_t  nestedStructLevel 
)

◆ SOPC_DiagnosticInfo_Write()

SOPC_ReturnStatus SOPC_DiagnosticInfo_Write ( const SOPC_DiagnosticInfo diagInfo,
SOPC_Buffer buf,
uint32_t  nestedStructLevel 
)

◆ SOPC_DiagnosticInfo_WriteAux()

SOPC_ReturnStatus SOPC_DiagnosticInfo_WriteAux ( const void *  value,
SOPC_Buffer buf,
uint32_t  nestedStructLevel 
)

◆ SOPC_DiagnosticInfo_Read()

SOPC_ReturnStatus SOPC_DiagnosticInfo_Read ( SOPC_DiagnosticInfo diagInfo,
SOPC_Buffer buf,
uint32_t  nestedStructLevel 
)

◆ SOPC_DiagnosticInfo_ReadAux()

SOPC_ReturnStatus SOPC_DiagnosticInfo_ReadAux ( void *  value,
SOPC_Buffer buf,
uint32_t  nestedStructLevel 
)

◆ SOPC_QualifiedName_Write()

SOPC_ReturnStatus SOPC_QualifiedName_Write ( const SOPC_QualifiedName qname,
SOPC_Buffer buf,
uint32_t  nestedStructLevel 
)

◆ SOPC_QualifiedName_WriteAux()

SOPC_ReturnStatus SOPC_QualifiedName_WriteAux ( const void *  value,
SOPC_Buffer buf,
uint32_t  nestedStructLevel 
)

◆ SOPC_QualifiedName_Read()

SOPC_ReturnStatus SOPC_QualifiedName_Read ( SOPC_QualifiedName qname,
SOPC_Buffer buf,
uint32_t  nestedStructLevel 
)

◆ SOPC_QualifiedName_ReadAux()

SOPC_ReturnStatus SOPC_QualifiedName_ReadAux ( void *  value,
SOPC_Buffer buf,
uint32_t  nestedStructLevel 
)

◆ SOPC_LocalizedText_Write()

SOPC_ReturnStatus SOPC_LocalizedText_Write ( const SOPC_LocalizedText localizedText,
SOPC_Buffer buf,
uint32_t  nestedStructLevel 
)

◆ SOPC_LocalizedText_WriteAux()

SOPC_ReturnStatus SOPC_LocalizedText_WriteAux ( const void *  value,
SOPC_Buffer buf,
uint32_t  nestedStructLevel 
)

◆ SOPC_LocalizedText_Read()

SOPC_ReturnStatus SOPC_LocalizedText_Read ( SOPC_LocalizedText localizedText,
SOPC_Buffer buf,
uint32_t  nestedStructLevel 
)

◆ SOPC_LocalizedText_ReadAux()

SOPC_ReturnStatus SOPC_LocalizedText_ReadAux ( void *  value,
SOPC_Buffer buf,
uint32_t  nestedStructLevel 
)

◆ SOPC_ExtensionObject_Write()

SOPC_ReturnStatus SOPC_ExtensionObject_Write ( const SOPC_ExtensionObject extObj,
SOPC_Buffer buf,
uint32_t  nestedStructLevel 
)

◆ SOPC_ExtensionObject_WriteAux()

SOPC_ReturnStatus SOPC_ExtensionObject_WriteAux ( const void *  value,
SOPC_Buffer buf,
uint32_t  nestedStructLevel 
)

◆ SOPC_ExtensionObject_Read()

SOPC_ReturnStatus SOPC_ExtensionObject_Read ( SOPC_ExtensionObject extObj,
SOPC_Buffer buf,
uint32_t  nestedStructLevel 
)

◆ SOPC_ExtensionObject_ReadAux()

SOPC_ReturnStatus SOPC_ExtensionObject_ReadAux ( void *  value,
SOPC_Buffer buf,
uint32_t  nestedStructLevel 
)

◆ SOPC_Variant_Write()

SOPC_ReturnStatus SOPC_Variant_Write ( const SOPC_Variant variant,
SOPC_Buffer buf,
uint32_t  nestedStructLevel 
)

◆ SOPC_Variant_WriteAux()

SOPC_ReturnStatus SOPC_Variant_WriteAux ( const void *  value,
SOPC_Buffer buf,
uint32_t  nestedStructLevel 
)

◆ SOPC_Variant_WriteAux_Nested()

SOPC_ReturnStatus SOPC_Variant_WriteAux_Nested ( const void *  value,
SOPC_Buffer buf,
uint32_t  nestedStructLevel 
)

◆ SOPC_Variant_Read()

SOPC_ReturnStatus SOPC_Variant_Read ( SOPC_Variant variant,
SOPC_Buffer buf,
uint32_t  nestedStructLevel 
)

◆ SOPC_Variant_ReadAux()

SOPC_ReturnStatus SOPC_Variant_ReadAux ( void *  value,
SOPC_Buffer buf,
uint32_t  nestedStructLevel 
)

◆ SOPC_Variant_ReadAux_Nested()

SOPC_ReturnStatus SOPC_Variant_ReadAux_Nested ( void *  value,
SOPC_Buffer buf,
uint32_t  nestedStructLevel 
)

◆ SOPC_DataValue_Write()

SOPC_ReturnStatus SOPC_DataValue_Write ( const SOPC_DataValue dataValue,
SOPC_Buffer buf,
uint32_t  nestedStructLevel 
)

◆ SOPC_DataValue_WriteAux()

SOPC_ReturnStatus SOPC_DataValue_WriteAux ( const void *  value,
SOPC_Buffer buf,
uint32_t  nestedStructLevel 
)

◆ SOPC_DataValue_WriteAux_Nested()

SOPC_ReturnStatus SOPC_DataValue_WriteAux_Nested ( const void *  value,
SOPC_Buffer buf,
uint32_t  nestedStructLevel 
)

◆ SOPC_DataValue_Read()

SOPC_ReturnStatus SOPC_DataValue_Read ( SOPC_DataValue dataValue,
SOPC_Buffer buf,
uint32_t  nestedStructLevel 
)

◆ SOPC_DataValue_ReadAux()

SOPC_ReturnStatus SOPC_DataValue_ReadAux ( void *  value,
SOPC_Buffer buf,
uint32_t  nestedStructLevel 
)

◆ SOPC_DataValue_ReadAux_Nested()

SOPC_ReturnStatus SOPC_DataValue_ReadAux_Nested ( void *  value,
SOPC_Buffer buf,
uint32_t  nestedStructLevel 
)

◆ SOPC_Read_Array()

SOPC_ReturnStatus SOPC_Read_Array ( SOPC_Buffer msgBuf,
int32_t *  noOfElts,
void **  eltsArray,
size_t  sizeOfElt,
SOPC_EncodeableObject_PfnDecode decodeFct,
SOPC_EncodeableObject_PfnInitialize initializeFct,
SOPC_EncodeableObject_PfnClear clearFct,
uint32_t  nestedStructLevel 
)

◆ SOPC_Write_Array()

SOPC_ReturnStatus SOPC_Write_Array ( SOPC_Buffer msgBuf,
const int32_t *const  noOfElts,
const void *const *  eltsArray,
size_t  sizeOfElt,
SOPC_EncodeableObject_PfnEncode encodeFct,
uint32_t  nestedStructLevel 
)

◆ SOPC_EncodeMsg_Type_Header_Body()

SOPC_ReturnStatus SOPC_EncodeMsg_Type_Header_Body ( SOPC_Buffer buf,
SOPC_EncodeableType encType,
SOPC_EncodeableType headerType,
void *  msgHeader,
void *  msgBody 
)

◆ SOPC_MsgBodyType_Read()

SOPC_ReturnStatus SOPC_MsgBodyType_Read ( SOPC_Buffer buf,
SOPC_EncodeableType **  receivedEncType 
)

◆ SOPC_DecodeMsg_HeaderOrBody()

SOPC_ReturnStatus SOPC_DecodeMsg_HeaderOrBody ( SOPC_Buffer buffer,
SOPC_EncodeableType msgEncType,
void **  encodeableObj 
)

Variable Documentation

◆ SOPC_BuiltInType_EncodingTable

const SOPC_BuiltInType_Encoding SOPC_BuiltInType_EncodingTable[SOPC_BUILTINID_MAX+1]

Table of all built-in type encoding. To be indexed with a SOPC_BuiltinId. Provides all the generic encoding and decoding functions associated with each built-in type.