IResultReadBridge Interface

Interface that is to be implemted for a bridge that can read data from persistant storage into the ResultData 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 interface IResultReadBridge : IResultBridge
Implements
IResultBridge

Properties

Connection Connection specifying the file to read from
Filter Specifies what data to load. Must be set before any call to the open and read methods.
NumberOfTimeSteps Return the number of time steps in the storage

Methods

Connect Connects to storage
Finish Used to disconnect from/close persistant storage and free resources if needed.
(Inherited from IResultBridge)
Read Reads the header and data from persistant storage and populates the associated resultData object. This is the same as calling ReadHeader(IDiagnostics) and ReadData(IDiagnostics) in that order.
ReadData Reads in the data from persistant storage and populates the associated resultdata object.

You can not load the data without having loaded the header, hence it can be assumed that ReadHeader(IDiagnostics) has already been called.

ReadHeader Reads in the header data from persistent storage and populates the associated resultdata object.

Events

TimeStepReadEvent Event triggered everytime a time step has been read

See Also