.NET Based OPC UA Client/Server SDK  2.6.0.418
UnifiedAutomation.UaBase.BinarySchemaBuilder Class Reference

A class used to parse and manipulate OPC Binary dictionaries. More...

Public Member Functions

 BinarySchemaBuilder ()
 Initializes a new instance of the BinarySchemaBuilder class. More...
 
 BinarySchemaBuilder (string namespaceUri)
 Initializes a new instance of the BinarySchemaBuilder class. More...
 
 BinarySchemaBuilder (byte[] dictionary)
 Initializes a new instance of the BinarySchemaBuilder class. More...
 
 BinarySchemaBuilder (OpcBinary.TypeDictionary dictionary)
 Initializes a new instance of the BinarySchemaBuilder class. More...
 
OpcBinary.TypeDictionary GetDictionary ()
 Builds an OPC Binary schema with the contents of the dictionary. More...
 
void SetDictionary (OpcBinary.TypeDictionary dictionary)
 Updates the the object with the contents of the dictionary. More...
 
GenericDataType NewTypeFromDictionary (XmlQualifiedName typeName)
 Creates a new generic type from the current dictionary. More...
 
bool TypeExists (XmlQualifiedName name)
 Checks if the type is in the current dictionary. More...
 
void AddEnumeration (GenericEnumeratedDataType definition)
 Adds an enumerated data type to the dictionary. More...
 
void AddStructure (GenericStructureDataType definition)
 Adds a structured data type to the dictionary. More...
 

Properties

NodeId DictionaryId [get, set]
 Gets or sets the NodeId for the dictionary variable. More...
 
string NamespaceUri [get]
 Gets namespace URI for the dictionary. More...
 

Detailed Description

A class used to parse and manipulate OPC Binary dictionaries.

Constructor & Destructor Documentation

UnifiedAutomation.UaBase.BinarySchemaBuilder.BinarySchemaBuilder ( )
inline

Initializes a new instance of the BinarySchemaBuilder class.

UnifiedAutomation.UaBase.BinarySchemaBuilder.BinarySchemaBuilder ( string  namespaceUri)
inline

Initializes a new instance of the BinarySchemaBuilder class.

Parameters
namespaceUriThe namespace URI.
UnifiedAutomation.UaBase.BinarySchemaBuilder.BinarySchemaBuilder ( byte[]  dictionary)
inline

Initializes a new instance of the BinarySchemaBuilder class.

Parameters
dictionaryThe dictionary serialized as an UTF-8 encoded XML document.
UnifiedAutomation.UaBase.BinarySchemaBuilder.BinarySchemaBuilder ( OpcBinary.TypeDictionary  dictionary)
inline

Initializes a new instance of the BinarySchemaBuilder class.

Parameters
dictionaryThe dictionary.

Member Function Documentation

void UnifiedAutomation.UaBase.BinarySchemaBuilder.AddEnumeration ( GenericEnumeratedDataType  definition)
inline

Adds an enumerated data type to the dictionary.

Parameters
definitionThe enumerated type.
void UnifiedAutomation.UaBase.BinarySchemaBuilder.AddStructure ( GenericStructureDataType  definition)
inline

Adds a structured data type to the dictionary.

Parameters
definitionThe structured type.
OpcBinary.TypeDictionary UnifiedAutomation.UaBase.BinarySchemaBuilder.GetDictionary ( )
inline

Builds an OPC Binary schema with the contents of the dictionary.

Returns
The dictionary.
GenericDataType UnifiedAutomation.UaBase.BinarySchemaBuilder.NewTypeFromDictionary ( XmlQualifiedName  typeName)
inline

Creates a new generic type from the current dictionary.

Parameters
typeNameName of the type.
Returns
The new generic type.
void UnifiedAutomation.UaBase.BinarySchemaBuilder.SetDictionary ( OpcBinary.TypeDictionary  dictionary)
inline

Updates the the object with the contents of the dictionary.

Parameters
dictionaryThe dictionary.
bool UnifiedAutomation.UaBase.BinarySchemaBuilder.TypeExists ( XmlQualifiedName  name)
inline

Checks if the type is in the current dictionary.

Parameters
nameThe name of the type.
Returns
TRUE if it exist; FALSE otherwise.

Property Documentation

NodeId UnifiedAutomation.UaBase.BinarySchemaBuilder.DictionaryId
getset

Gets or sets the NodeId for the dictionary variable.

The NodeId for the dictionary variable.

string UnifiedAutomation.UaBase.BinarySchemaBuilder.NamespaceUri
get

Gets namespace URI for the dictionary.

The namespace URI.


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