.NET Based OPC UA Client/Server SDK  3.1.0.500
UnifiedAutomation.UaBase.GenericUnionWithSubtypedValuesDataType Class Reference

A type description for a structured DataType which can have fields with that allow setting values of subtypes of the DataType More...

Inherits UnifiedAutomation.UaBase.GenericUnionDataType.

Public Member Functions

override DataTypeDefinitionSettings DataTypeDefinition (NamespaceTable namespaceUris)
 Returns the DataTypeDefinitionSettings for the structure. More...
 
- Public Member Functions inherited from UnifiedAutomation.UaBase.GenericUnionDataType
 GenericUnionDataType ()
 Initializes a new instance of the GenericUnionDataType class. More...
 
bool TryGetSwitchValue (string fieldName, out uint value)
 Tries the get switch value. More...
 
bool TryGetSwitchField (uint value, out string fieldName)
 Trys to get the fieldName for a value. More...
 
void SetSwitchValue (string fieldName, uint value)
 Sets the switch value for a field. More...
 
override void Add (GenericStructureDataTypeField value)
 Adds the field for the specified field name. More...
 
override string ToString (string format, IFormatProvider formatProvider)
 Returns a System.String that represents this instance. More...
 
- Public Member Functions inherited from UnifiedAutomation.UaBase.GenericStructureDataType
 GenericStructureDataType ()
 Initializes a new instance of the GenericStructureDataType class. More...
 
bool TryGetValue (string name, out GenericStructureDataTypeField value)
 Checks whether the specified field exists and returns it if it does. More...
 
bool Remove (string name)
 Removes the field with the specified name. More...
 
void RemoveAt (int ii)
 Removes the field at the specified index. More...
 
IEnumerator< KeyValuePair
< string,
GenericStructureDataTypeField > > 
GetEnumerator ()
 Returns an enumerator that iterates through the collection. More...
 
- Public Member Functions inherited from UnifiedAutomation.UaBase.GenericDataType
override string ToString ()
 Returns a System.String that represents this instance. More...
 

Properties

override GenericDataTypeClass TypeClass [get]
 Gets the type class for the object. More...
 
- Properties inherited from UnifiedAutomation.UaBase.GenericUnionDataType
override GenericDataTypeClass TypeClass [get]
 Gets the type class for the object. More...
 
string SwitchField [get, set]
 The name of switch field which specifies the field stored in the union. More...
 
- Properties inherited from UnifiedAutomation.UaBase.GenericStructureDataType
ExpandedNodeId XmlEncodingNodeId [get, set]
 The NodeId for the DefaultXML encoding node. More...
 
ExpandedNodeId BinaryEncodingNodeId [get, set]
 The NodeId for the DefaultBinary encoding node. More...
 
override GenericDataTypeClass TypeClass [get]
 Gets the type class for the object. More...
 
int Count [get]
 Gets the number of fields in the structure. More...
 
IList< string > Fields [get]
 Gets list of field names. More...
 
GenericStructureDataTypeField this[string key] [get, set]
 Gets or sets the field with the specified field name. More...
 
GenericStructureDataTypeField this[int index] [get, set]
 Gets or sets the field at the specified index. More...
 
- Properties inherited from UnifiedAutomation.UaBase.GenericDataType
XmlQualifiedName Name [get, set]
 Gets or sets the qualified name for the type. More...
 
abstract GenericDataTypeClass TypeClass [get]
 Gets the type class for the object. More...
 
virtual ExpandedNodeId DataTypeId [get, set]
 Gets or sets the DataTypeId More...
 

Additional Inherited Members

- Protected Member Functions inherited from UnifiedAutomation.UaBase.GenericStructureDataType
void Rename (string oldName, string newName)
 Renames the specified field. More...
 

Detailed Description

A type description for a structured DataType which can have fields with that allow setting values of subtypes of the DataType

Member Function Documentation

override DataTypeDefinitionSettings UnifiedAutomation.UaBase.GenericUnionWithSubtypedValuesDataType.DataTypeDefinition ( NamespaceTable  namespaceUris)
inlinevirtual

Returns the DataTypeDefinitionSettings for the structure.

Parameters
namespaceUrisThe NamespaceTable to resolve the DataTypeIds of the fields.
Returns
The StructureDefinitionSettings of the DataType.

Reimplemented from UnifiedAutomation.UaBase.GenericUnionDataType.

Property Documentation

override GenericDataTypeClass UnifiedAutomation.UaBase.GenericUnionWithSubtypedValuesDataType.TypeClass
get

Gets the type class for the object.

The type class.


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