IResultReadWriteBridge Interface |
Namespace: DHI.Mike1D.ResultDataAccess
The IResultReadWriteBridge type exposes the following members.
Name | Description | |
---|---|---|
Connection |
Connection specifying the file to read from
(Inherited from IResultReadBridge.) | |
Filter |
Specifies what data to load. Must be set before
any call to the open and read methods.
(Inherited from IResultReadBridge.) | |
NumberOfTimeSteps | Return the number of time steps in the storage (Inherited from IResultReadBridge.) | |
SecondsBetweenFileFlush |
Seconds between flush to file. Set this lower if you need to read the result file while your
calculations are running.
(Inherited from IResultWriteBridge.)Set to zero to disable file flushing. WARNING: File flush is a potentially expensive operation. Use with care. |
Name | Description | |
---|---|---|
Connect |
Connects to storage
(Inherited from IResultReadBridge.) | |
Finish |
Used to disconnect from/close persistant storage and free resources if needed.
(Inherited from IResultBridge.) | |
Flush |
Flush must store data from result data (memory) and into persistant storage (file or database)
(Inherited from IResultWriteBridge.) | |
Prepare |
Prepare the persistant storage for flush operations.
(Inherited from IResultWriteBridge.) | |
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.
(Inherited from IResultReadBridge.) | |
ReadData |
Reads in the data from persistant storage and populates the associated resultdata object.
(Inherited from IResultReadBridge.)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 persistant storage and populates the associated resultdata object.
(Inherited from IResultReadBridge.) | |
Save |
Writes the entire content of the result data into a persistent storage
(Inherited from IResultWriteBridge.) |
Name | Description | |
---|---|---|
TimeStepReadEvent |
Event triggered everytime a time step has been read
(Inherited from IResultReadBridge.) |