Action:
|
Reads a double.
|
|
Prototype:
|
double read_real ();
|
|
Includes:
|
#include "kernel/acis.hxx"
|
|
#include "kernel/kernutil/fileio/fileio.hxx"
|
|
Description:
|
This routine is used as part of restore from a SAT or SAB file. Read a double. In text mode, this ignores initial white space, and leaves the input stream positioned at the character (which should be white space) which terminates the decimal representation, which may be fixed-point or exponent notation. In binary, this simply reads the correct number of bytes for the internal representation, and then possibly reorders them.
ActiveFile is a
FileInterface object and does most of the actual work.
|
|
|
return ActiveFile ? ActiveFile->read_double() : 0;
|
|
Call the appropriate SatFile or SabFile method
|
|
Library:
|
kernel
|
|
Filename:
|
kern/kernel/kernutil/fileio/fileio.hxx
|
|
Effect:
|
Read-only
|