C++ Based OPC UA Client/Server/PubSub SDK  1.7.6.537
UaBase::AbstractNodesetExport Class Referenceabstract

Abstract base class for a Nodeset exporter. More...

#include <abstractnodesetexport.h>

Inherits UaAbstractDictionaryReader.

Inherited by UaBase::NodesetXmlExport.

Public Member Functions

virtual UaStatus exportNs (const Nodeset &nodeset, const UaString &filename)=0
 export interface
 
bool loadDataTypeDictionaries (const Nodeset *pNodeset)
 Reads the binary DataTypeDictionaries, parses their content and browses the Nodeset to find the corresponding DataTypeIds and Encoding Ids. More...
 

Protected Member Functions

UaStructureDefinition structureDefinition (const UaNodeId &typeId)
 Gets the structured data type description for the passed data type NodeId.
 
UaEnumDefinition enumDefinition (const UaNodeId &typeId)
 Gets the enumeration data type description for the passed data type NodeId.
 
UaOptionSetDefinition optionSetDefinition (const UaNodeId &typeId)
 Gets the OptionSet data type description for the passed data type NodeId.
 
bool isStruct (const UaNodeId &typeId)
 check if if the passed data type NodeId is a structured data type.
 
bool isEnum (const UaNodeId &typeId)
 check if if the passed data type NodeId is a enumerated type.
 
bool isOptionSet (const UaNodeId &typeId)
 check if if the passed data type NodeId is a option set type.
 
bool createNamespaceMapping (const Nodeset &nodeset, OpcUa_UInt16 exportIdx)
 create namespace mapping for export of ns=exportIdx
 
bool getMappedUris (const Nodeset &nodeset, UaStringArray &nss)
 get namespace uris of mapped namespaces
 

Detailed Description

Abstract base class for a Nodeset exporter.

This class implements the DictionaryReader Interface in terms of Nodeset operations and provides convenience functions to access the TypeDictionary data. Any concrete exporter implementation should inherit from this base class.

Member Function Documentation

bool UaBase::AbstractNodesetExport::loadDataTypeDictionaries ( const Nodeset pNodeset)

Reads the binary DataTypeDictionaries, parses their content and browses the Nodeset to find the corresponding DataTypeIds and Encoding Ids.

Ignores DataTypes where DataTypeIds cannot be found.


The documentation for this class was generated from the following files: