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
29
typedef
DINT32
dods_int32
;
30
31
#define DUINT32 uint32_t
32
typedef
DUINT32
dods_uint32
;
33
34
#define DINT16 int16_t
35
typedef
DINT16
dods_int16
;
36
37
#define DUINT16 uint16_t
38
typedef
DUINT16
dods_uint16
;
39
40
#define DBYTE uint8_t
41
typedef
DBYTE
dods_byte
;
42
43
#define DFLOAT64 double
44
typedef
DFLOAT64
dods_float64
;
45
46
#define DFLOAT32 float
47
typedef
DFLOAT32
dods_float32
;
48
49
#define DINT8 int8_t
50
typedef
DINT8
dods_int8
;
51
52
#define DINT64 int64_t
53
typedef
DINT64
dods_int64
;
54
55
#define DUINT64 uint64_t
56
typedef
DUINT64
dods_uint64
;
57
58
/* Enums in DAP4 are 64-bit signed integers */
59
typedef
DINT64
dods_enum
;
60
61
#endif
/* __DODS_DATATYPES__ */
62
DUINT32
#define DUINT32
Definition
config.h:74
DINT8
#define DINT8
Definition
config.h:62
DINT64
#define DINT64
Definition
config.h:59
DFLOAT32
#define DFLOAT32
Definition
config.h:47
DUINT16
#define DUINT16
Definition
config.h:71
DINT32
#define DINT32
Definition
config.h:56
DBYTE
#define DBYTE
Definition
config.h:44
DINT16
#define DINT16
Definition
config.h:53
DUINT64
#define DUINT64
Definition
config.h:77
DFLOAT64
#define DFLOAT64
Definition
config.h:50
dods_int32
DINT32 dods_int32
Definition
dods-datatypes-config.h:29
dods_int16
DINT16 dods_int16
Definition
dods-datatypes-config.h:35
dods_int8
DINT8 dods_int8
Definition
dods-datatypes-config.h:50
dods_uint16
DUINT16 dods_uint16
Definition
dods-datatypes-config.h:38
dods_int64
DINT64 dods_int64
Definition
dods-datatypes-config.h:53
dods_float32
DFLOAT32 dods_float32
Definition
dods-datatypes-config.h:47
dods_byte
DBYTE dods_byte
Definition
dods-datatypes-config.h:41
dods_float64
DFLOAT64 dods_float64
Definition
dods-datatypes-config.h:44
dods_enum
DINT64 dods_enum
Definition
dods-datatypes-config.h:59
dods_uint32
DUINT32 dods_uint32
Definition
dods-datatypes-config.h:32
dods_uint64
DUINT64 dods_uint64
Definition
dods-datatypes-config.h:56
dods-datatypes-config.h
Generated by
1.13.2