UA Bundle SDK .NET  2.3.1.334
 All Classes Namespaces Functions Variables Enumerations Enumerator Properties Events Groups Pages
UnifiedAutomation.UaBase.OpcBinaryParser Class Reference

A class used to parse values described with an OPC Binary Schema. More...

Inherits UnifiedAutomation.UaBase.ISchemaParser.

Public Member Functions

 OpcBinaryParser ()
 Initializes a new instance of the OpcBinaryParser class. More...
 
GenericValue Parse (Stream istrm, XmlQualifiedName typeName)
 Parses the value contained in the stream provided. More...
 
void LoadDictionary (string fileName, Assembly assembly)
 Loads an OPC Binary Schema from an embedded resource. More...
 
void LoadDictionary (Stream strm)
 Loads the dictionary. More...
 

Properties

string DefaultNamespaceUri [get, set]
 Gets the default namespace URI for types known to the parser. More...
 
- Properties inherited from UnifiedAutomation.UaBase.ISchemaParser
string DefaultNamespaceUri [get]
 Gets the default namespace URI for types known to the parser. More...
 

Detailed Description

A class used to parse values described with an OPC Binary Schema.

Constructor & Destructor Documentation

UnifiedAutomation.UaBase.OpcBinaryParser.OpcBinaryParser ( )
inline

Initializes a new instance of the OpcBinaryParser class.

Member Function Documentation

void UnifiedAutomation.UaBase.OpcBinaryParser.LoadDictionary ( string  fileName,
Assembly  assembly 
)
inline

Loads an OPC Binary Schema from an embedded resource.

Parameters
fileNameThe name of the embedded resource file.
assemblyThe assembly.
Exceptions
StatusExceptionCould not find the embedded resource file.
void UnifiedAutomation.UaBase.OpcBinaryParser.LoadDictionary ( Stream  strm)
inline

Loads the dictionary.

Parameters
strmThe stream containing the OPC Binary Schema file to load.
GenericValue UnifiedAutomation.UaBase.OpcBinaryParser.Parse ( Stream  istrm,
XmlQualifiedName  typeName 
)
inline

Parses the value contained in the stream provided.

Parameters
istrmThe stream containing the serialized object.
typeNameThe fully qualified name of the type serialized in the stream.
Returns
The parsed value.

Implements UnifiedAutomation.UaBase.ISchemaParser.

Property Documentation

string UnifiedAutomation.UaBase.OpcBinaryParser.DefaultNamespaceUri
getset

Gets the default namespace URI for types known to the parser.

The default namespace URI for types known to the parser.


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