Res1DStreamBridge Methods

Methods

CloseDfsFile 
Connect Connects to storage
CreateDynamicItemInfos 
CreateDynamicItemInfosOld 
CreateResultDirectory Create result directory and check if file already exists that it can be overwritten.
EqualsDetermines whether the specified object is equal to the current object.
(Inherited from Object)
Finalize Release ressources allocated by the bridge.
(Overrides ObjectFinalize)
Finish Used to disconnect from/close persistant storage and free resources if needed.
Flush Write the contained time steps into the res11 file
FromDfs 
GetFloat Get a float from the static item at the given index
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)
OpenDfsFile 
PeakStaticItemNameNext Peak the next static item.
PeakStaticItemNext Peak the next static item.
Prepare Prepare bridge, create the file, add dynamic and static items.
Read Reads in the data specified by _specification and _filePath and populates _resultData.
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(IDiagnostics) Reads in the header data from persistent storage and populates the associated resultdata object.
ReadHeader(IDiagnostics, Boolean) 
ReadStaticItemNext Reads the next static item, depending on the _readMode.
RewindTime Override this method to support rewinding of time when running simulation. This stream version does not support rewinding.
Save Writes the content of the _resultDataAccess into a Res1d file
StartBufferedRead Buffered read means that data is not transferred directly to ResultData object, but transferred fully when the buffer is full, i.e. data from 100 time steps has been read from the file storage.

This can increase performance of reading bigger res1d files.

StopBufferedRead Stop buffered read. Transfer any remaining data from buffer to result data object.
ToDfs 
ToStringReturns a string that represents the current object.
(Inherited from Object)
TransferBuffer Transfer buffer values to ResultData object, either because buffer is full, or because buffered reading is over.
TriggerTimeStepReadEvent Method to trigger when a new time step has been read.
Write write everything in a file, closing and finalizing file.

See Also