ResultDataSearch Class

Class for fast searching in list of nodes, reaches and catchments.

Definition

Namespace: DHI.Mike1D.ResultDataAccess
Assembly: DHI.Mike1D.ResultDataAccess (in DHI.Mike1D.ResultDataAccess.dll) Version: 24.0.0.0 (11.1.1.1111)
C#
public class ResultDataSearch : IResultDataSearch
Inheritance
Object    ResultDataSearch
Implements
IResultDataSearch

Constructors

ResultDataSearch(IResultData) Constructor

Using case insensitive ID string comparison (default)

ResultDataSearch(IResultData, NullableBoolean) Constructor

Properties

Methods

EqualsDetermines whether the specified object is equal to the current object.
(Inherited from Object)
FinalizeAllows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object)
FindCatchment Find catchment with the provided id
FindCatchmentIndex Find catchment with the provided id
FindNode(String) Find node with the provided id. If more than one node with that ID exist, the first found is returned.
FindNode(String, FuncIRes1DNode, Boolean) Find node with the provided id and matching the match
FindNodeT(String) Find node with the provided id and type
FindNodeIndex(String) Find index of node with the provided id
FindNodeIndex(String, FuncIRes1DNode, Boolean) Find index of node with the provided id and matching the match
FindNodeIndexT(String) Find index of node with the provided id and type
FindNodeIndices Find indices of nodes with the provided id.
FindNodes Find nodes with the provided id.
FindReach(String, Double) Find reach at the provided location.

In case two reaches cover the same location (when one reach has been split into two at exactly that location), the first one (smallest start-chainage) is returned

FindReach(String, Double, Boolean) Find reach at the provided location.

In case two reaches cover the same location (when one reach has been split into two at exactly that location), you must select whether you want the upstream or the downstream reach.

FindReaches Find all reaches with the provided name
FindReachIndex Find index of reach
FindStructure(String) Find location of structure with given structureId

If more than one structure exists with the same Id, the first one found is returned. This can happen for urban type setups where several structures of different type can have same Id, e.g. a weir and a pump.

FindStructure(String, String) Find location of structure with given structureId and structureType

More than one structure can have the same Id. This can happen for urban type setups where several structures of different type can have same Id, e.g. a weir and a pump.

FindStructures Find all structure with given structureId.

More than one structure can have the same Id. This can happen for urban type setups where several structures of different type can have same Id, e.g. a weir and a pump.

GetHashCodeServes as the default hash function.
(Inherited from Object)
GetTypeGets the Type of the current instance.
(Inherited from Object)
MemberwiseCloneCreates a shallow copy of the current Object.
(Inherited from Object)
ToStringReturns a string that represents the current object.
(Inherited from Object)

See Also