EngineDataItemAllT Class |
The AbstractEngineDataNodeT and AbstractEngineDataReachT can be used as base implementations for pull versions of engine data.
This class contains a list of all reaches and nodes in the engine network. In case a reach/node does not have data for a quantity, the IEngineData for that reach/node will be null.
A data item can either calculate its values on the fly, when its GetValues is called are called, or it can update its values during UpdateValues, in which case the UpdateValues must be overwritten.
Namespace: DHI.Mike1D.Engine.ModuleData
[Missing <typeparam name="T"/> documentation for "T:DHI.Mike1D.Engine.ModuleData.EngineDataItemAll`1"]
The EngineDataItemAllT type exposes the following members.
Name | Description | |
---|---|---|
EngineDataItemAllT(IQuantity) |
Constructor
| |
EngineDataItemAllT(EngineNet, IQuantity) |
Constructor required for lazy evaluation
|
Name | Description | |
---|---|---|
DataGeneric |
Get engine data for the specified index reference.
(Inherited from EngineDataItemAllBaseT.) | |
IsLazy |
Flag indicating if data item should apply lazy evaluation
| |
Quantity |
Quantity of the data in this IEngineDataItemT (Inherited from EngineDataItemAllBaseT.) |
Name | Description | |
---|---|---|
ContainsDataGeneric |
Check whether there is data for the index reference
(Inherited from EngineDataItemAllBaseT.) | |
ContainsDataNode |
Check whether there is data for the specified node
| |
ContainsDataReach |
Check whether there is data for the specified reach
| |
ContainsDataReachGeneric |
Check whether there is generic data for the specified reach
(Inherited from EngineDataItemAllBaseT.) | |
CreateDataItemForAllReaches |
Factory method for creating a dataitem containing data for all reaches.
The data for each reach are created by the delegate
| |
CreateGridPointMap |
For every reach, create a mapping from grid point index in reach to grid point index in enginedata item.
| |
CreateReachesData |
Create ReachesData, usually array of all reaches
(Overrides EngineDataItemAllBaseTCreateReachesData(Int32).) | |
Equals | Determines whether the specified object is equal to the current object. (Inherited from Object.) | |
Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) | |
GetDataReach |
Get engine data for the specified reach.
| |
GetDataReachGeneric |
Get generic engine data for the specified reach.
(Inherited from EngineDataItemAllBaseT.) | |
GetHashCode | Serves as the default hash function. (Inherited from Object.) | |
GetNodeData |
Get engine data for the specified node.
| |
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
GetValue |
Get engine data for the specified node.
| |
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
Prepare | (Inherited from EngineDataItemAllBaseT.) | |
SetEngineDataReach |
Set reach data to reaches array
(Overrides EngineDataItemAllBaseTSetEngineDataReach(Int32, EngineDataReachT).) | |
SetupDataForNodes(EngineNet) |
Setup data for all nodes
| |
SetupDataForNodes(EngineNet, EngineDataItemAllTDCreateNodeDataT) |
Setup data for all nodes
| |
SetupDataForReaches(EngineNet) |
Set up reach data, data on all gridpoints
(Inherited from EngineDataItemAllBaseT.) | |
SetupDataForReaches(EngineNet, EngineDataItemAllTDCreateReachDataT) |
Set up reach data, based on delegate
| |
SetupDataForReaches(EngineNet, PredicateGridPoint) |
Set up reach data, data on all gridpoints of a given instance type
| |
SetupDataForReaches(EngineNet, Type) |
Set up reach data, data on all gridpoints of a given instance type
| |
ToString | Returns a string that represents the current object. (Inherited from Object.) | |
UpdateValues |
Update values of all pull items
(Inherited from EngineDataItemAllBaseT.) | |
ValueFractionGetter |
Valuegetter for engine data for the specified node.
| |
ValueGetter |
Valuegetter for engine data for the specified node.
|
Name | Description | |
---|---|---|
_engineNet |
EngineNet variable
| |
GenericData |
Generic data
(Inherited from EngineDataItemAllBaseT.) | |
NodesData |
Data on nodes. Null if no data on nodes
| |
ReachesData |
Data on reaches. Null if no data on reaches
| |
ReachGenericData |
Generic data on reaches
(Inherited from EngineDataItemAllBaseT.) |
Name | Description | |
---|---|---|
GetValueOrDefaultT |
Get engine data for the specified node, or returns null if node has no data
(Defined by EngineExtensions.) |