Click or drag to resize

ResultDataSearch Class

Class for fast searching in list of nodes, reaches and catchments.
Inheritance Hierarchy
SystemObject
  DHI.Mike1D.ResultDataAccessResultDataSearch

Namespace:  DHI.Mike1D.ResultDataAccess
Assembly:  DHI.Mike1D.ResultDataAccess (in DHI.Mike1D.ResultDataAccess.dll) Version: 19.0.0.0 (11.1.1.1111)
Syntax
public class ResultDataSearch : IResultDataSearch

The ResultDataSearch type exposes the following members.

Constructors
  NameDescription
Public methodResultDataSearch
Create new object
Top
Properties
  NameDescription
Public propertyResultData
IResultData object
Top
Methods
  NameDescription
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public methodFindCatchment
Find catchment with the provided id
Public methodFindNode
Find node with the provided id
Public methodFindNodeIndex
Find index of node with the provided id
Public methodFindReach(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

Public methodFindReach(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.

Public methodFindReaches
Find all reaches with the provided name
Public methodFindStructure(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.

Public methodFindStructure(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.

Public methodFindStructures
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.

Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Top
See Also