Click or drag to resize

IResultRandomReadBridge Interface

A read bridge that is able to access time step data in random order from a result storage.

Namespace:  DHI.Mike1D.ResultDataAccess
Assembly:  DHI.Mike1D.ResultDataAccess (in DHI.Mike1D.ResultDataAccess.dll) Version: 19.0.0.0 (11.1.1.1111)
Syntax
public interface IResultRandomReadBridge : IResultReadBridge, 
	IResultBridge

The IResultRandomReadBridge type exposes the following members.

Properties
  NameDescription
Public propertyConnection
Connection specifying the file to read from
(Inherited from IResultReadBridge.)
Public propertyFilter
Specifies what data to load. Must be set before any call to the open and read methods.
(Inherited from IResultReadBridge.)
Public propertyNumberOfTimeSteps
Return the number of time steps in the storage
(Inherited from IResultReadBridge.)
Top
Methods
  NameDescription
Public methodConnect
Connects to storage
(Inherited from IResultReadBridge.)
Public methodFinish
Used to disconnect from/close persistant storage and free resources if needed.
(Inherited from IResultBridge.)
Public methodRead
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.
(Inherited from IResultReadBridge.)
Public methodReadData
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.

(Inherited from IResultReadBridge.)
Public methodReadHeader
Reads in the header data from persistant storage and populates the associated resultdata object.
(Inherited from IResultReadBridge.)
Public methodReadTimeForTimeStep
Return the time for the given time step
Public methodReadTimeStep
Read and populate result data with data for the given time step
Top
Events
  NameDescription
Public eventTimeStepReadEvent
Event triggered everytime a time step has been read
(Inherited from IResultReadBridge.)
Top
See Also