Go to the source code of this file.
Classes | |
class | gridgenGrdFormatter |
Abstracts the file format of a gridgen .grd file. More... | |
class | gridgenAsciiFormatter |
ASCII format input file: More... | |
class | gridgenBinaryFormatter< coordT > |
Machine binary input file: More... | |
class | gridgenBinaryFloatFormatter |
class | gridgenBinaryDoubleFormatter |
Typedefs | |
typedef int | grdb_int_t |
typedef double | grdb_coord_t |
Functions | |
static const char * | readInt (FILE *f, int *dest) |
static const char * | readDouble (FILE *f, double *dest) |
const char * | read_general (const char *gridFile, gridgenGrdFormatter &fmt, blockConsumer &dest) |
const char * | read_grd (const char *gridFile, blockConsumer &dest) |
const char * | read_grds (const char *gridFile, blockConsumer &dest) |
const char * | read_grdd (const char *gridFile, blockConsumer &dest) |
typedef double grdb_coord_t |
Definition at line 84 of file readgrd.cpp.
typedef int grdb_int_t |
Definition at line 83 of file readgrd.cpp.
const char* read_general | ( | const char * | gridFile, |
gridgenGrdFormatter & | fmt, | ||
blockConsumer & | dest | ||
) |
Definition at line 152 of file readgrd.cpp.
References blockConsumer::allocateBlock(), blockConsumer::consume(), cimg_library::cimg::fclose(), cimg_library::cimg::fopen(), blockConsumer::freeBlock(), blockDim::getSize(), i, gridgenGrdFormatter::readDouble(), gridgenGrdFormatter::readInt(), and gridgenGrdFormatter::setFile().
Referenced by read_grd(), read_grdd(), and read_grds().
const char* read_grd | ( | const char * | gridFile, |
blockConsumer & | dest | ||
) |
Definition at line 196 of file readgrd.cpp.
References read_general().
Referenced by read_file().
const char* read_grdd | ( | const char * | gridFile, |
blockConsumer & | dest | ||
) |
Definition at line 206 of file readgrd.cpp.
References read_general().
Referenced by read_file().
const char* read_grds | ( | const char * | gridFile, |
blockConsumer & | dest | ||
) |
Definition at line 201 of file readgrd.cpp.
References read_general().
Referenced by read_file().
|
static |
Definition at line 96 of file readgrd.cpp.
References cimg_library::cimg::fread().
|
static |
Definition at line 87 of file readgrd.cpp.
References cimg_library::cimg::fread().