.NET Based OPC UA Client/Server SDK  2.6.1.422
UnifiedAutomation.UaBase.NamespaceTable Class Reference

A table of namespace URIs. More...

Inherits UnifiedAutomation.UaBase.StringTable.

Public Member Functions

 NamespaceTable ()
 Initializes a new instance of the NamespaceTable class. More...
 
 NamespaceTable (IEnumerable< string > strings)
 Initializes a new instance of the NamespaceTable class. More...
 
override void Clear ()
 Clears the table. More...
 
override bool Equals (object obj)
 Determines whether the specified System.Object is equal to this instance. More...
 
override int GetHashCode ()
 Returns a suitable hash code for the object. More...
 
- Public Member Functions inherited from UnifiedAutomation.UaBase.StringTable
 StringTable ()
 Initializes a new instance of the StringTable class. More...
 
 StringTable (IEnumerable< string > strings)
 Initializes a new instance of the StringTable class. More...
 
int Add (string item)
 Adds the specified item. More...
 
int GetIndexOrAppend (string item)
 Finds the index or appends the string and returns the index. More...
 
ushort TranslateIndex (ushort index, StringTable target)
 Finds the index of the matching string in the target table. More...
 
int TranslateIndex (int index, StringTable target)
 Finds the index of the matching string in the target table. More...
 
ushort[] CreateMapping (StringTable source, bool updateTable)
 Creates a mapping between the URIs in a source table and the indexes in the current table. More...
 
int IndexOf (string item)
 The index of the string. More...
 
bool Contains (string item)
 Determines whether the table contains the string. More...
 
void CopyTo (string[] array, int arrayIndex)
 Copies the elements of the T:System.Collections.Generic.ICollection`1 to an T:System.Array, starting at a particular T:System.Array index. More...
 
IEnumerator< string > GetEnumerator ()
 Returns an enumerator that iterates through the collection. More...
 

Additional Inherited Members

- Protected Attributes inherited from UnifiedAutomation.UaBase.StringTable
List< string > m_strings
 The list of strings stored in the table. More...
 
object m_lock = new object()
 An object used to synchronize access to the table. More...
 
- Properties inherited from UnifiedAutomation.UaBase.StringTable
string this[int index] [get, set]
 Gets the System.String at the specified index. More...
 
int Count [get]
 Gets the number of strings in the table. More...
 
bool IsReadOnly [get]
 Gets a value indicating whether the T:System.Collections.Generic.ICollection`1 is read-only. More...
 

Detailed Description

A table of namespace URIs.

Constructor & Destructor Documentation

UnifiedAutomation.UaBase.NamespaceTable.NamespaceTable ( )
inline

Initializes a new instance of the NamespaceTable class.

Ensures the first index is Namespaces.OpcUa.

UnifiedAutomation.UaBase.NamespaceTable.NamespaceTable ( IEnumerable< string >  strings)
inline

Initializes a new instance of the NamespaceTable class.

Parameters
stringsThe strings.

Ensures the first index is Namespaces.OpcUa.

Member Function Documentation

override void UnifiedAutomation.UaBase.NamespaceTable.Clear ( )
inlinevirtual

Clears the table.

Reimplemented from UnifiedAutomation.UaBase.StringTable.

override bool UnifiedAutomation.UaBase.NamespaceTable.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.
override int UnifiedAutomation.UaBase.NamespaceTable.GetHashCode ( )
inline

Returns a suitable hash code for the object.


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