libdap Updated for version 3.21.1
libdap4 is an implementation of OPeNDAP's DAP protocol.
dods-datatypes-config.h
Go to the documentation of this file.
1/* dods-datatypes-config.h. Generated from dods-datatypes-config.h.in by configure. */
2
3/*
4 Determine at compile-time the sizes of various datatypes. This uses symbols
5 defined by configure (See configure.in).
6 jhrg 10/24/94
7
8 This header is included by all of the DODS DAP library header files which
9 make use of the dods_* typedefs. C or C++ files can either include
10 config_dap.h, use their own configure script which defines SIZEOF_LONG,
11 _INT, _CHAR and _DOUBLE or set these preprocessor symbols themselves in a
12 Makefile, etc.
13
14 This used to be part of the config_dap.h header, but including that in the
15 DAP library headers introduced problems when the DAP was used in conjunction
16 with other libraries. 8/1/2000 jhrg
17*/
18
19#ifndef __DODS_DATATYPES__
20#define __DODS_DATATYPES__
21
22/* The typedefs are done using a preprocessor symbol so that autoconf's
23 `CONFIG_HEADER' can be used. The configure script will then only modify
24 the dods-datatypes.h header when its contents change. This saves on
25 compilation since the header is used by many files in the dap++ library.
26 The downside is that the typedefs are so ugly... 2/14/2001 jhrg */
27
28#define DINT32 int32_t
30
31#define DUINT32 uint32_t
33
34#define DINT16 int16_t
36
37#define DUINT16 uint16_t
39
40#define DBYTE uint8_t
42
43#define DFLOAT64 double
45
46#define DFLOAT32 float
48
49#define DINT8 int8_t
51
52#define DINT64 int64_t
54
55#define DUINT64 uint64_t
57
58/* Enums in DAP4 are 64-bit signed integers */
60
61#endif /* __DODS_DATATYPES__ */
62
#define DUINT32
Definition config.h:74
#define DINT8
Definition config.h:62
#define DINT64
Definition config.h:59
#define DFLOAT32
Definition config.h:47
#define DUINT16
Definition config.h:71
#define DINT32
Definition config.h:56
#define DBYTE
Definition config.h:44
#define DINT16
Definition config.h:53
#define DUINT64
Definition config.h:77
#define DFLOAT64
Definition config.h:50
DINT32 dods_int32
DINT16 dods_int16
DINT8 dods_int8
DUINT16 dods_uint16
DINT64 dods_int64
DFLOAT32 dods_float32
DBYTE dods_byte
DFLOAT64 dods_float64
DINT64 dods_enum
DUINT32 dods_uint32
DUINT64 dods_uint64