libdap++
Updated for version 3.8.2
Main Page
Related Pages
Namespaces
Classes
Files
File List
File Members
dods-datatypes.h
Go to the documentation of this file.
1
/* dods-datatypes.h. Generated from dods-datatypes.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
#include <inttypes.h>
23
24
namespace
libdap
25
{
26
27
/* The typedefs are done using a preprocessor symbol so that autoconf's
28
`CONFIG_HEADER' can be used. The configure script will then only modify
29
the dods-datatypes.h header when its contents change. This saves on
30
compilation since the header is used by many files in the dap++ library.
31
The downside is that the typedefs are so ugly... 2/14/2001 jhrg */
32
33
typedef
int32_t
dods_int32
;
34
35
typedef
uint32_t
dods_uint32
;
36
37
typedef
int16_t
dods_int16
;
38
39
typedef
uint16_t
dods_uint16
;
40
41
typedef
uint8_t
dods_byte
;
42
43
typedef
double
dods_float64
;
44
45
typedef
float
dods_float32
;
46
47
}
// namespace libdap
48
49
#endif
/* __DODS_DATATYPES__ */
dods-datatypes.h
Generated on Wed Jul 10 2013 17:26:30 for libdap++ by
1.8.4