libdap++
Updated for version 3.11.7
Main Page
Related Pages
Namespaces
Classes
Files
File List
File Members
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
#endif
/* __DODS_DATATYPES__ */
50
dods_int32
DINT32 dods_int32
Definition:
dods-datatypes-config.h:29
DFLOAT32
#define DFLOAT32
Definition:
dods-datatypes-config.h:46
dods_uint32
DUINT32 dods_uint32
Definition:
dods-datatypes-config.h:32
dods_float32
DFLOAT32 dods_float32
Definition:
dods-datatypes-config.h:47
DINT16
#define DINT16
Definition:
dods-datatypes-config.h:34
DBYTE
#define DBYTE
Definition:
dods-datatypes-config.h:40
DUINT16
#define DUINT16
Definition:
dods-datatypes-config.h:37
DFLOAT64
#define DFLOAT64
Definition:
dods-datatypes-config.h:43
DINT32
#define DINT32
Definition:
dods-datatypes-config.h:28
dods_uint16
DUINT16 dods_uint16
Definition:
dods-datatypes-config.h:38
dods_float64
DFLOAT64 dods_float64
Definition:
dods-datatypes-config.h:44
dods_byte
DBYTE dods_byte
Definition:
dods-datatypes-config.h:41
DUINT32
#define DUINT32
Definition:
dods-datatypes-config.h:31
dods_int16
DINT16 dods_int16
Definition:
dods-datatypes-config.h:35
dods-datatypes-config.h
Generated by
1.8.7