|The SDL Component Suite is an industry leading collection of components supporting scientific and engineering computing. Please visit the SDL Web site for more information....|
|Home MathPack Matrix Class TMat4D Methods ReadBinary|
|See also: LoadBinary, OnReadElement, ReadBinaryHeader, ReadLayer|
The method ReadBinary reads all data of the file FName without actually loading it into memory. Instead it triggers the OnReadElement event for each read data value. The matrix file is read starting with the time slot TSlotStart up to TSlotEnd.
If any of the time slot parameters TSlotStart and TSlotEnd is zero or negative, the entire data file is read into the matrix. If TSlotStart is within the data range but TSlotEnd is beyond the maximum time slot, only the available data are read.
The function returns the following error codes:
0 ... everything is OK