Click or drag to resize

Res1DStreamBridge Methods

The Res1DStreamBridge type exposes the following members.

Methods
  NameDescription
Protected methodCloseDfsFile
Public methodConnect
Connects to storage
Protected methodCreateDynamicItemInfos
Protected methodCreateDynamicItemInfosOld
Protected methodStatic memberCreateResultDirectory
Create result directory and check if file already exists that it can be overwritten.
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Protected methodFinalize
Release ressources allocated by the bridge.
(Overrides ObjectFinalize.)
Public methodFinish
Public methodFlush
Write the contained time steps into the res11 file
Public methodStatic memberFromDfs
Protected methodStatic memberGetFloat
Get a float from the static item at the given index
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.)
Protected methodOpenDfsFile
Protected methodPeakStaticItemNameNext
Peak the next static item.
Protected methodPeakStaticItemNext
Peak the next static item.
Public methodPrepare
Prepare bridge, create the file, add dynamic and static items.
Public methodRead
Reads in the data specified by _specification and _filePath and populates _resultData.
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.

Public methodReadHeader(IDiagnostics)
Reads in the header data from persistant storage and populates the associated resultdata object.
Public methodReadHeader(IDiagnostics, Boolean)
Protected methodReadStaticItemNext
Reads the next static item, depending on the _readMode.
Protected methodRewindTime
Override this method to support rewinding of time when running simulation. This stream version does not support rewinding.
Public methodSave
Writes the content of the _resultDataAccess into a Res1d file
Public methodStatic memberToDfs
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Protected methodTriggerTimeStepReadEvent
Method to trigger when a new time step has been read.
Public methodWrite
write everything in a file, closing and finalizing file.
Top
See Also