DataReaderLazy Class

Data reader that utilizes the IResultRandomReadBridge and adds lazy reading capabilities. Times for timestep and timesteps are only read on request. Filtering on quantities are respected if the bridge respects it, though filtering on time steps are disregarded.

At most BufferSize time steps are stored in the result data object, hence if reading more than BufferSize number of time steps, the first read time step are removed again (based on reading, not on access).

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 DataReaderLazy : IResultDataReader
Inheritance
Object    DataReaderLazy
Implements
IResultDataReader

Constructors

DataReaderLazyInitializes a new instance of the DataReaderLazy class

Properties

BufferSize Size of lazy buffer, maximum number of time steps in memory

Methods

Close 
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)
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)
Read 
ReadData 
ReadHeader(IDiagnostics) 
ReadHeader(Boolean, IDiagnostics) 
ReadTimeStep 
ToStringReturns a string that represents the current object.
(Inherited from Object)

See Also