A table of strings.
More...
Inherits IList< string >.
Inherited by UnifiedAutomation.UaBase.NamespaceTable.
|
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...
|
|
|
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...
|
|
UnifiedAutomation.UaBase.StringTable.StringTable |
( |
| ) |
|
|
inline |
UnifiedAutomation.UaBase.StringTable.StringTable |
( |
IEnumerable< string > |
strings | ) |
|
|
inline |
Initializes a new instance of the StringTable class.
- Parameters
-
int UnifiedAutomation.UaBase.StringTable.Add |
( |
string |
item | ) |
|
|
inline |
Adds the specified item.
- Parameters
-
virtual void UnifiedAutomation.UaBase.StringTable.Clear |
( |
| ) |
|
|
inlinevirtual |
bool UnifiedAutomation.UaBase.StringTable.Contains |
( |
string |
item | ) |
|
|
inline |
Determines whether the table contains the string.
- Parameters
-
- Returns
true
if the table contains the string; otherwise, false
.
void UnifiedAutomation.UaBase.StringTable.CopyTo |
( |
string[] |
array, |
|
|
int |
arrayIndex |
|
) |
| |
|
inline |
Copies the elements of the T:System.Collections.Generic.ICollection`1 to an T:System.Array, starting at a particular T:System.Array index.
- Parameters
-
array | The one-dimensional T:System.Array that is the destination of the elements copied from T:System.Collections.Generic.ICollection`1. The T:System.Array must have zero-based indexing. |
arrayIndex | The zero-based index in array at which copying begins. |
ushort [] UnifiedAutomation.UaBase.StringTable.CreateMapping |
( |
StringTable |
source, |
|
|
bool |
updateTable |
|
) |
| |
|
inline |
Creates a mapping between the URIs in a source table and the indexes in the current table.
- Parameters
-
source | The string table to map. |
updateTable | if set to true if missing URIs should be added to the current tables. |
- Returns
- A list of indexes in the current table.
IEnumerator<string> UnifiedAutomation.UaBase.StringTable.GetEnumerator |
( |
| ) |
|
|
inline |
Returns an enumerator that iterates through the collection.
- Returns
- A T:System.Collections.Generic.IEnumerator`1 that can be used to iterate through the collection.
int UnifiedAutomation.UaBase.StringTable.GetIndexOrAppend |
( |
string |
item | ) |
|
|
inline |
Finds the index or appends the string and returns the index.
- Parameters
-
- Returns
- The index.
int UnifiedAutomation.UaBase.StringTable.IndexOf |
( |
string |
item | ) |
|
|
inline |
The index of the string.
- Parameters
-
- Returns
- The index. -1 if the string does not exist.
ushort UnifiedAutomation.UaBase.StringTable.TranslateIndex |
( |
ushort |
index, |
|
|
StringTable |
target |
|
) |
| |
|
inline |
Finds the index of the matching string in the target table.
- Parameters
-
index | The index. |
target | The target. |
- Returns
int UnifiedAutomation.UaBase.StringTable.TranslateIndex |
( |
int |
index, |
|
|
StringTable |
target |
|
) |
| |
|
inline |
Finds the index of the matching string in the target table.
- Parameters
-
index | The index. |
target | The target. |
- Returns
object UnifiedAutomation.UaBase.StringTable.m_lock = new object() |
|
protected |
An object used to synchronize access to the table.
List<string> UnifiedAutomation.UaBase.StringTable.m_strings |
|
protected |
The list of strings stored in the table.
int UnifiedAutomation.UaBase.StringTable.Count |
|
get |
Gets the number of strings in the table.
bool UnifiedAutomation.UaBase.StringTable.IsReadOnly |
|
get |
Gets a value indicating whether the T:System.Collections.Generic.ICollection`1 is read-only.
- Returns
- true if the T:System.Collections.Generic.ICollection`1 is read-only; otherwise, false.
string UnifiedAutomation.UaBase.StringTable.this[int index] |
|
getset |
Gets the System.String at the specified index.
The documentation for this class was generated from the following file:
- D:/work/uasdknet/src/UaBase/BuiltIn/NamespaceTable.cs