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

Stores information about a type. More...

Inherits IFormattable.

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, set]
 The built in type. More...
 
int ValueRank [get, set]
 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 
)
inline

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 
)
inline

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 
)
inline

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)
inlinestatic

Returns the type info for the specified value.

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

Returns the type info for the specified system type.

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

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 
)
inline

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 ( )
inline

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 
)
inlinestatic

Implements the operator !=.

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

Implements the operator ==.

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

Formats the type information as a string.

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

Formats the type information as a string.

Property Documentation

BuiltInType UnifiedAutomation.UaBase.TypeInfo.BuiltInType
getset

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
getset

The value rank.


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