.NET Based OPC UA Client/Server SDK  3.3.3.537
UnifiedAutomation.UaBase.TypeInfo Class Reference

Stores information about a type. More...

Inherits IFormattable.

Classes

class  Arrays
 Constants for one dimensional array types. More...
 
class  Scalars
 Constants for scalar types. More...
 

Public Member Functions

 TypeInfo (BuiltInType builtInType, int valueRank)
 Construct the object with a built-in type and a value rank. More...
 
 TypeInfo (NodeId dataTypeId, ITypeTable typeTable)
 Construct the object with a data type node id. More...
 
 TypeInfo (NodeId dataTypeId, int valueRank, ITypeTable typeTable)
 Construct the object with a data type node id and a value rank. More...
 
NodeId GetDataTypeId (object value, NamespaceTable namespaceUris, ITypeTable typeTree)
 Returns the data type id that describes a value. More...
 
override bool Equals (object obj)
 Determines whether the specified System.Object is equal to this instance. More...
 
override int GetHashCode ()
 Returns a hash code for this instance. More...
 
override string ToString ()
 Formats the type information as a string. More...
 
string ToString (string format, IFormatProvider formatProvider)
 Formats the type information as a string. More...
 

Static Public Member Functions

static TypeInfo Construct (object value)
 Returns the type info for the specified value. More...
 
static TypeInfo Construct (Type systemType)
 Returns the type info for the specified system type. More...
 
static bool operator== (TypeInfo value1, TypeInfo value2)
 Implements the operator ==. More...
 
static bool operator!= (TypeInfo value1, TypeInfo value2)
 Implements the operator !=. More...
 

Properties

BuiltInType BuiltInType [get]
 The built in type. More...
 
int ValueRank [get]
 The value rank. More...
 
static TypeInfo Unknown [get]
 Represents a unknown type (a.k.a. a 'null' TypeInfo). More...
 

Detailed Description

Stores information about a type.

Constructor & Destructor Documentation

UnifiedAutomation.UaBase.TypeInfo.TypeInfo ( BuiltInType  builtInType,
int  valueRank 
)

Construct the object with a built-in type and a value rank.

Parameters
builtInTypeType of the built in.
valueRankThe value rank.
UnifiedAutomation.UaBase.TypeInfo.TypeInfo ( NodeId  dataTypeId,
ITypeTable  typeTable 
)

Construct the object with a data type node id.

Parameters
dataTypeIdThe data type id.
typeTableThe type table.
UnifiedAutomation.UaBase.TypeInfo.TypeInfo ( NodeId  dataTypeId,
int  valueRank,
ITypeTable  typeTable 
)

Construct the object with a data type node id and a value rank.

Parameters
dataTypeIdThe data type id.
valueRankThe value rank.
typeTableThe type table.

Member Function Documentation

static TypeInfo UnifiedAutomation.UaBase.TypeInfo.Construct ( object  value)
static

Returns the type info for the specified value.

static TypeInfo UnifiedAutomation.UaBase.TypeInfo.Construct ( Type  systemType)
static

Returns the type info for the specified system type.

override bool UnifiedAutomation.UaBase.TypeInfo.Equals ( object  obj)

Determines whether the specified System.Object is equal to this instance.

Parameters
objThe System.Object to compare with this instance.
Returns
true if the specified System.Object is equal to this instance; otherwise, false.
Exceptions
T:System.NullReferenceExceptionThe obj parameter is null.
NodeId UnifiedAutomation.UaBase.TypeInfo.GetDataTypeId ( object  value,
NamespaceTable  namespaceUris,
ITypeTable  typeTree 
)

Returns the data type id that describes a value.

Parameters
valueThe value to describe.
namespaceUrisThe namespace uris.
typeTreeThe type tree for a server.
Returns
Returns the data type identifier that describes a value.
override int UnifiedAutomation.UaBase.TypeInfo.GetHashCode ( )

Returns a hash code for this instance.

Returns
A hash code for this instance, suitable for use in hashing algorithms and data structures like a hash table.
static bool UnifiedAutomation.UaBase.TypeInfo.operator!= ( TypeInfo  value1,
TypeInfo  value2 
)
static

Implements the operator !=.

Parameters
value1The value1.
value2The value2.
Returns
The result of the operator.
static bool UnifiedAutomation.UaBase.TypeInfo.operator== ( TypeInfo  value1,
TypeInfo  value2 
)
static

Implements the operator ==.

Parameters
value1The value1.
value2The value2.
Returns
The result of the operator.
override string UnifiedAutomation.UaBase.TypeInfo.ToString ( )

Formats the type information as a string.

string UnifiedAutomation.UaBase.TypeInfo.ToString ( string  format,
IFormatProvider  formatProvider 
)

Formats the type information as a string.

Property Documentation

BuiltInType UnifiedAutomation.UaBase.TypeInfo.BuiltInType
get

The built in type.

TypeInfo UnifiedAutomation.UaBase.TypeInfo.Unknown
staticget

Represents a unknown type (a.k.a. a 'null' TypeInfo).

int UnifiedAutomation.UaBase.TypeInfo.ValueRank
get

The value rank.


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