Abstracts the file format of a gridgen .grd file. More...
Public Member Functions | |
void | setFile (FILE *f_) |
virtual const char * | readInt (int *dest)=0 |
virtual const char * | readDouble (double *dest)=0 |
Protected Attributes | |
FILE * | f |
Abstracts the file format of a gridgen .grd file.
Definition at line 105 of file readgrd.cpp.
|
pure virtual |
Implemented in gridgenBinaryFormatter< coordT >, gridgenBinaryFormatter< double >, gridgenBinaryFormatter< float >, and gridgenAsciiFormatter.
Referenced by read_general().
|
pure virtual |
Implemented in gridgenBinaryFormatter< coordT >, gridgenBinaryFormatter< double >, gridgenBinaryFormatter< float >, and gridgenAsciiFormatter.
Referenced by read_general().
|
inline |
Definition at line 109 of file readgrd.cpp.
References f.
Referenced by read_general().
|
protected |
Definition at line 107 of file readgrd.cpp.
Referenced by gridgenAsciiFormatter::readDouble(), gridgenBinaryFormatter< float >::readDouble(), gridgenAsciiFormatter::readInt(), gridgenBinaryFormatter< float >::readInt(), and setFile().