C++ Based OPC UA Client/Server SDK
1.6.5.478
|
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) const |
Gets the structured data type description for the passed data type NodeId. | |
UaEnumDefinition | enumDefinition (const UaNodeId &typeId) const |
Gets the enumeration data type description for the passed data type NodeId. | |
UaOptionSetDefinition | optionSetDefinition (const UaNodeId &typeId) const |
Gets the OptionSet data type description for the passed data type NodeId. | |
bool | isStruct (const UaNodeId &typeId) const |
check if if the passed data type NodeId is a structured data type. | |
bool | isEnum (const UaNodeId &typeId) const |
check if if the passed data type NodeId is a enumerated type. | |
bool | isOptionSet (const UaNodeId &typeId) const |
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 | |
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.
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.