#include "gridio.h"
Include dependency graph for gridio.cpp:
Go to the source code of this file.
Functions | |
int | nameadd (char *full, char *arg, char *suff) |
int | readline (FILE *fp, char *fline) |
void ** | matalloc (int nx, int ny, int datatype) |
int | gridread (char *file, void ***data, int datatype, int *nx, int *ny, float *dx, float *dy, double bndbox[4], double *csize, float *nodata, int *filetype) |
int | gridwrite (char *file, void **data, int datatype, int nx, int ny, float dx, float dy, double bndbox[4], double csize, float nodata, int filetype) |
void | eol (FILE *fp) |
void eol | ( | FILE * | fp | ) |
Definition at line 594 of file gridio.cpp.
References fseek().
Here is the call graph for this function:
int gridread | ( | char * | file, | |
void *** | data, | |||
int | datatype, | |||
int * | nx, | |||
int * | ny, | |||
float * | dx, | |||
float * | dy, | |||
double | bndbox[4], | |||
double * | csize, | |||
float * | nodata, | |||
int * | filetype | |||
) |
Definition at line 127 of file gridio.cpp.
References AccessWindowSet(), BndCellRead(), CAllocate1(), CELLFLOAT, CELLINT, CellLayerOpen(), CellLyrClose(), CFree1(), GetMissingFloat(), GetWindowRow(), GridIOExit(), GridIOSetup(), matalloc(), MAXLN, MISSINGINT, NULL, readline(), READONLY, ROWIO, RPFLTDTYPE, RPINTDTYPE, RPSHRDTYPE, type(), utme, utmn, WindowCols(), and WindowRows().
Referenced by aread8(), catchmentGrid(), catchmentPoly(), flood(), setdir(), setdird8(), streamDefinition(), streamSegmentation(), and streamSegmentationShp().
Here is the call graph for this function:
int gridwrite | ( | char * | file, | |
void ** | data, | |||
int | datatype, | |||
int | nx, | |||
int | ny, | |||
float | dx, | |||
float | dy, | |||
double | bndbox[4], | |||
double | csize, | |||
float | nodata, | |||
int | filetype | |||
) |
Definition at line 410 of file gridio.cpp.
References AccessWindowClear(), AccessWindowSet(), CAllocate1(), CELLFLOAT, CELLINT, CellLayerCreate(), CellLyrClose(), CellLyrDelete(), CellLyrExists(), CFree1(), GetMissingFloat(), GridDelete(), GridIOExit(), GridIOSetup(), GridRename(), LINELEN, MAXLN, MISSINGINT, NULL, PutWindowRow(), ROWIO, RPFLTDTYPE, RPINTDTYPE, RPSHRDTYPE, type(), utme, utmn, and WRITEONLY.
Referenced by aread8(), catchmentGrid(), flood(), setdir(), setdird8(), streamDefinition(), and streamSegmentation().
Here is the call graph for this function:
void** matalloc | ( | int | nx, | |
int | ny, | |||
int | datatype | |||
) |
Definition at line 56 of file gridio.cpp.
References NULL.
Referenced by aread8(), flood(), gridread(), setdfnoflood(), setdir(), and setdird8().
int nameadd | ( | char * | full, | |
char * | arg, | |||
char * | suff | |||
) |
int readline | ( | FILE * | fp, | |
char * | fline | |||
) |