Click or drag to resize

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).

Inheritance Hierarchy
SystemObject
  DHI.Mike1D.ResultDataAccessDataReaderLazy

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 DataReaderLazy : IResultDataReader

The DataReaderLazy type exposes the following members.

Constructors
  NameDescription
Public methodDataReaderLazy
Initializes a new instance of the DataReaderLazy class
Top
Properties
  NameDescription
Public propertyBufferSize
Size of lazy buffer, maximum number of time steps in memory
Top
Methods
  NameDescription
Public methodClose
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 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 methodRead
Public methodReadData
Public methodReadHeader(IDiagnostics)
Public methodReadHeader(Boolean, IDiagnostics)
Public methodReadTimeStep
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Top
See Also