Click or drag to resize

AsciiBridge Class

Common class for ascii bridge data
Inheritance Hierarchy

Namespace:  DHI.Mike1D.ResultDataAccess
Assembly:  DHI.Mike1D.ResultDataAccess (in DHI.Mike1D.ResultDataAccess.dll) Version: 19.0.0.0 (11.1.1.1111)
Syntax
public abstract class AsciiBridge

The AsciiBridge type exposes the following members.

Constructors
  NameDescription
Protected methodAsciiBridge
Initializes a new instance of the AsciiBridge class
Top
Properties
  NameDescription
Public propertySecondsBetweenFileFlush
Seconds between flush to file. Set this lower if you need to read the result file while your calculations are running. WARNING: File flush is a potentially expensive operation. Use with care.
Top
Methods
  NameDescription
Protected methodDoStore
Store at this time
Public methodEquals
Determines whether the specified object is equal to the current object.
(Inherited from Object.)
Protected methodFinalize
Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection.
(Inherited from Object.)
Public methodFinish
Finish the file. Write dynamic statistics and static values.
Protected methodGetFormat
Get output format of dynamic item
Public methodGetHashCode
Serves as the default hash function.
(Inherited from Object.)
Public methodGetType
Gets the Type of the current instance.
(Inherited from Object.)
Protected methodIsIncluded
Returns true if grid point on reach is included in the output.
Protected methodStatic memberIsXyStaticItem
Returns true if the static item is a (x,y) static item and prints two outputs.
Protected methodMemberwiseClone
Creates a shallow copy of the current Object.
(Inherited from Object.)
Public methodPrepare
Protected methodStatic memberResultDataDoStoreOverride
Method to used as the DoStoreUserFunction, to make sure ResultData gets data at every time step (to update statistics)
Public methodSave
Writes the content of the _resultDataAccess into file
Protected methodSetupDynamicItems
Setup dynamic items
Public methodToString
Returns a string that represents the current object.
(Inherited from Object.)
Protected methodTruncate(String)
Truncate string to column width, though only if delimiter is not defined
Protected methodTruncate(String, Int32)
Truncate string to length, though only if delimiter is not defined
Protected methodWriteDashLine
Write a line of dashes (-) in the txt file, matching numColumns columns of output data
Protected methodWriteHeader
Write header, called in end of prepare method
Protected methodWriteStaticValue
Write static value for the staticItem at the reach and grid point index
Protected methodWriteTimeSteps
Write time steps. Called during simulation.
Top
Fields
  NameDescription
Protected field_columnWidth
Width (minimum) of each column
Protected field_culture
Culture to use when outputting. Defaults to InvariantCulture
Protected field_data
Ascii output data
Protected field_doTruncate
Flag indicating if truncation of string should take place - only when no delimiter is defined
Protected field_formatChainage
Format string for chainage outputs
Protected field_formatDefault
Format string for string outputs
Protected field_formats
Format strings for dynamic and static outputs
Protected fieldStatic member_itemPredefinedNames
Default predefined names for static items
Protected fieldStatic member_itemPredefinedNamesYOffset
Offset for Y name of static item, for the XY outputs
Protected field_maximumTime
Time of maximum value of output quantity
Protected field_maximumValue
Maximum value of output quantity
Protected field_minimumTime
Time of minimum value of output quantity
Protected field_minimumValue
Minimum value of output quantity
Protected field_resultData
Result data to extract results from
Protected field_resultSpec
Result specification - storing frequence is used
Protected field_timeBetweenUpdates
Protected field_timeOfNextUpdate
Protected field_timestepCount
Protected field_writer
Top
See Also