.NET Based OPC UA Client/Server SDK
2.6.6.478
|
A table of references with multiple indexes designed to speed up searching. More...
Public Member Functions | |
void | Initialize (IList< ReferenceNode > references) |
Initializes the table with a list of references. More... | |
void | Clear () |
Clears the table. More... | |
List< ReferenceNode > | FindAll () |
Finds all of the references in the table. More... | |
List< ReferenceNode > | Find (NodeId referenceTypeId, bool isInverse, bool includeSubtypes, ITypeTable typeTree) |
Finds references with the specified reference type. More... | |
bool | ReferenceExists (NodeId referenceTypeId, bool isInverse, ExpandedNodeId targetId) |
Checks if the references the exists. More... | |
bool | Add (NodeId referenceTypeId, bool isInverse, ExpandedNodeId targetId, bool checkForDuplicates) |
Adds a new reference to the table. More... | |
bool | Remove (NodeId referenceTypeId, bool isInverse, ExpandedNodeId targetId) |
Removes a reference from the table. More... | |
A table of references with multiple indexes designed to speed up searching.
This class maintains a table of references indexed by the ReferenceTypeId which optimizes look ups based on ReferenceTypeId. It also maintains a table of reference indexed by TargetId which optimizes look ups based on the TargetId.
|
inline |
Adds a new reference to the table.
referenceTypeId | The reference type identifier. |
isInverse | if set to true if the reference is an inverse reference. |
targetId | The NodeId of the target node. |
checkForDuplicates | if set to true then duplicate references are ignored. Otherwise an exception is throw. |
|
inline |
Clears the table.
|
inline |
Finds references with the specified reference type.
referenceTypeId | The reference type identifier. |
isInverse | if set to true then inverse references are returned. |
includeSubtypes | if set to true then subtypes of the reference type are returned. |
typeTree | The type tree used to test for subtypes. |
|
inline |
Finds all of the references in the table.
|
inline |
Initializes the table with a list of references.
references | The references. |
|
inline |
Checks if the references the exists.
referenceTypeId | The reference type identifier. |
isInverse | if set to true the checke for an inverse reference. |
targetId | The NodeId of the target node. |
|
inline |
Removes a reference from the table.
referenceTypeId | The reference type identifier. |
isInverse | if set to true the reference is an inverse reference. |
targetId | The NodeId of the target node. |