|
GRASS 8 Programmer's Manual 8.6.0dev(2026)-ddeab64dbf
|
#include <stdio.h>#include <stdlib.h>#include <string.h>#include <sys/types.h>#include <unistd.h>#include <grass/raster.h>#include "raster3d_intern.h"
Go to the source code of this file.
Functions | |
| int | Rast3d_is_xdr_null_num (const void *num, int isFloat) |
| int | Rast3d_is_xdr_null_float (const float *f) |
| int | Rast3d_is_xdr_null_double (const double *d) |
| void | Rast3d_set_xdr_null_num (void *num, int isFloat) |
| void | Rast3d_set_xdr_null_double (double *d) |
| void | Rast3d_set_xdr_null_float (float *f) |
| int | Rast3d_init_fp_xdr (RASTER3D_Map *map, int misuseBytes) |
| int | Rast3d_init_copy_to_xdr (RASTER3D_Map *map, int sType) |
| int | Rast3d_copy_to_xdr (const void *src, int nofNum) |
| int | Rast3d_init_copy_from_xdr (RASTER3D_Map *map, int dType) |
| int | Rast3d_copy_from_xdr (int nofNum, void *dst) |
Definition at line 223 of file fpxdr.c.
References FCELL_TYPE, G_incr_void_ptr, Rast3d_copy_values(), Rast3d_error(), Rast3d_extern_length(), Rast3d_is_xdr_null_num(), Rast3d_set_null_value(), and RASTER3D_NO_XDR.
Definition at line 141 of file fpxdr.c.
References FCELL_TYPE, G_incr_void_ptr, Rast3d_copy_values(), Rast3d_error(), Rast3d_extern_length(), Rast3d_is_null_value_num(), Rast3d_set_xdr_null_num(), and RASTER3D_NO_XDR.
| int Rast3d_init_copy_from_xdr | ( | RASTER3D_Map * | map, |
| int | dType | ||
| ) |
Definition at line 184 of file fpxdr.c.
References FCELL_TYPE, Rast3d_extern_length(), Rast3d_length(), RASTER3D_USE_XDR, RASTER3D_Map::type, RASTER3D_Map::useXdr, and xdr.
| int Rast3d_init_copy_to_xdr | ( | RASTER3D_Map * | map, |
| int | sType | ||
| ) |
Definition at line 102 of file fpxdr.c.
References FCELL_TYPE, Rast3d_extern_length(), Rast3d_length(), RASTER3D_USE_XDR, RASTER3D_Map::type, RASTER3D_Map::useXdr, and xdr.
| int Rast3d_init_fp_xdr | ( | RASTER3D_Map * | map, |
| int | misuseBytes | ||
| ) |
Definition at line 65 of file fpxdr.c.
References NULL, RASTER3D_Map::numLengthExtern, RASTER3D_Map::numLengthIntern, Rast3d_error(), Rast3d_malloc(), Rast3d_realloc(), RASTER3D_MAX, RASTER3D_Map::tileSize, xdr, and xdrLength.
Referenced by Rast3d_fill_header().
Definition at line 31 of file fpxdr.c.
References Rast3d_is_xdr_null_num().
Definition at line 24 of file fpxdr.c.
References Rast3d_is_xdr_null_num().
Definition at line 13 of file fpxdr.c.
Referenced by Rast3d_copy_from_xdr(), Rast3d_is_xdr_null_double(), and Rast3d_is_xdr_null_float().
Definition at line 49 of file fpxdr.c.
References Rast3d_set_xdr_null_num().
Definition at line 56 of file fpxdr.c.
References Rast3d_set_xdr_null_num().
Definition at line 38 of file fpxdr.c.
Referenced by Rast3d_copy_to_xdr(), Rast3d_set_xdr_null_double(), and Rast3d_set_xdr_null_float().