C++ Based OPC UA Client/Server/PubSub SDK  1.7.6.537
UaBase::NodesetXmlExport Class Reference

Exporter class of a Nodeset to xml file. More...

#include <nodesetxmlexport.h>

Inherits UaBase::AbstractNodesetExport.

Public Member Functions

virtual UaStatus exportNs (const Nodeset &nodeset, const UaString &filename)
 export interface
 
virtual UaStatus exportNs (const Nodeset &nodeset, const UaString &filename, OpcUa_UInt16 exportNsIdx)
 Implementation of interface AbstractNodesetExport::export1. More...
 
void setMaxNodesToExport (OpcUa_UInt32 maxNodesToExport)
 Set the maximum number of nodes that can be exported. More...
 
OpcUa_UInt32 maxNodesToExport () const
 Returns the maximum number of nodes that can be exported.
 
- Public Member Functions inherited from UaBase::AbstractNodesetExport
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...
 

Additional Inherited Members

- Protected Member Functions inherited from UaBase::AbstractNodesetExport
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

Exporter class of a Nodeset to xml file.

This class implements the interface AbstractNodesetExport to export a Nodeset to xml file.

Member Function Documentation

UaStatus UaBase::NodesetXmlExport::exportNs ( const Nodeset nodeset,
const UaString filename,
OpcUa_UInt16  exportNsIdx 
)
virtual

Implementation of interface AbstractNodesetExport::export1.

Parameters
nodesetThe Nodeset to export
exportNsIdxThe namespace index of the nodeset to export
void UaBase::NodesetXmlExport::setMaxNodesToExport ( OpcUa_UInt32  maxNodesToExport)

Set the maximum number of nodes that can be exported.

The default value is UInt32_Max

Parameters
maxNodesToExportThe maximum number of nodes

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