M11FfBlockReader Class |
After connecting to the file, use the GetNextBlockType to quiery the block type, and then any of the ReadBlock methods or the SkipBlock to read/skip the next block. At end-of-file, GetNextBlockType returns EndOfFile.
Namespace: DHI.Mike1D.ResultDataAccess
The M11FfBlockReader type exposes the following members.
Name | Description | |
---|---|---|
M11FfBlockReader | Initializes a new instance of the M11FfBlockReader class |
Name | Description | |
---|---|---|
BlockCount |
Number of blocks read. The index matches the value of the
M11FfBlockReaderBlockType, the last value is the number of
unknown and skipped blocks.
|
Name | Description | |
---|---|---|
Connect | ||
Equals | Determines whether the specified object is equal to the current object. (Inherited from Object.) | |
Finalize | Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.) | |
Finish | ||
GetHashCode | Serves as the default hash function. (Inherited from Object.) | |
GetNextBlockType |
Returns the next block type. Can be called several times.
| |
GetType | Gets the Type of the current instance. (Inherited from Object.) | |
MemberwiseClone | Creates a shallow copy of the current Object. (Inherited from Object.) | |
ReadBlock |
Read and return the next block as a general object.
| |
ReadBlock0ItemDescriptor |
Read and return next block, assuming it is a ItemBlock0 | |
ReadBlock10Real48 |
Read and return next block, assuming it is a Real48Block10.
It will return an array of 20 doubles.
| |
ReadBlock10Real48(Double) |
Read and return next block, assuming it is a Real48Block10.
The values must be an array of 20 doubles.
| |
ReadBlock11Doubles |
Read and return next block, assuming it is a DoubleBlock11
It will return an array of 15 doubles.
| |
ReadBlock11Doubles(Double) |
Read and return next block, assuming it is a DoubleBlock11
The values array must have length 15.
| |
ReadBlock1ChannelDescriptor |
Read and return next block, assuming it is a ChannelBlock1 | |
ReadBlock2TimeDescriptor |
Read and return next block, assuming it is a TimeBlock2 | |
ReadBlock3Bytes |
Read and return next block, assuming it is a ByteBlock3
It will return an array of 120 bytes.
| |
ReadBlock3Bytes(Byte) |
Read and return next block, assuming it is a ByteBlock3
the bytes arguement must be 120 bytes long.
| |
ReadBlock4UShorts |
Read and return next block, assuming it is a UShortBlock4
It will return an array of 60 unsigned shorts.
| |
ReadBlock5Shorts |
Read and return next block, assuming it is a ShortBlock5
It will return an array of 60 shorts.
| |
ReadBlock6Real48 |
Read and return next block, assuming it is a Real48Block6
It will return an array of 20 doubles.
| |
ReadBlock7NotAllowed |
Read and return next block, assuming it is a NotAllowedBlock7 | |
ReadBlock8Text |
Read and return next block, assuming it is a TextBlock8
The string is at most 120 characters long, only ASCII characters supported.
| |
ReadBlock9Misc |
Read and return next block, assuming it is a MiscBlock9 | |
ReadExtraBlocks |
Read a number of extra blocks, store them in a list
| |
SkipBlock |
Skip next block
| |
ToString | Returns a string that represents the current object. (Inherited from Object.) | |
ToString(Byte, Int32) |
Converts an integer array of char values, null-terminated
(the integer value after the last value is zero) into
a string.
|