GCpp general purpose C++ library
version 1.0
Main Page
Related Pages
Namespaces
Classes
Files
File List
File Members
GTypes.hh
Go to the documentation of this file.
1
//======================================================================
2
/*! \file GTypes.hh
3
*
4
* File defining base types for the library
5
*/
6
//======================================================================
7
8
#ifndef G_TYPES_HH
9
#define G_TYPES_HH
10
11
//======================================================================
12
13
typedef
char
int8
;
///< Signed integer 1 bytes
14
typedef
unsigned
char
u_int8
;
///< Unigned integer 1 bytes
15
16
typedef
short
int16
;
///< Signed integer 2 bytes
17
typedef
unsigned
short
u_int16
;
///< Unigned integer 2 bytes
18
19
typedef
long
int32
;
///< Signed integer 4 bytes
20
typedef
unsigned
long
u_int32
;
///< Unigned integer 4 bytes
21
22
typedef
long
long
int64
;
///< Signed integer 8 bytes
23
typedef
unsigned
long
long
u_int64
;
///< Unsigned integer 8 bytes
24
25
26
#ifndef u_short
27
/*! Defining unsigned byte (8 bits) */
28
typedef
unsigned
char
byte
;
29
#endif
30
31
#ifndef u_short
32
/*! Defining unsigned short (16 bits) */
33
typedef
unsigned
short
u_short
;
34
#endif
35
36
#ifndef u_int
37
/*! Defining unsigned int (32 bits) */
38
typedef
unsigned
int
u_int
;
39
#endif
40
41
#ifndef u_long
42
/*! Defining unsigned long (32 bits) */
43
typedef
unsigned
long
u_long
;
44
#endif
45
46
#ifndef u_long_long
47
/*! Defining unsigned long (64 bits) */
48
typedef
unsigned
long
long
u_long_long
;
49
#endif
50
51
52
//======================================================================
53
#endif
u_int64
unsigned long long u_int64
Unsigned integer 8 bytes.
Definition:
GTypes.hh:23
u_long_long
unsigned long long u_long_long
Definition:
GTypes.hh:48
byte
unsigned char byte
Definition:
GTypes.hh:28
int16
short int16
Signed integer 2 bytes.
Definition:
GTypes.hh:16
int64
long long int64
Signed integer 8 bytes.
Definition:
GTypes.hh:22
u_int32
unsigned long u_int32
Unigned integer 4 bytes.
Definition:
GTypes.hh:20
u_int8
unsigned char u_int8
Unigned integer 1 bytes.
Definition:
GTypes.hh:14
int32
long int32
Signed integer 4 bytes.
Definition:
GTypes.hh:19
u_long
unsigned long u_long
Definition:
GTypes.hh:43
int8
char int8
Signed integer 1 bytes.
Definition:
GTypes.hh:13
u_int16
unsigned short u_int16
Unigned integer 2 bytes.
Definition:
GTypes.hh:17
u_int
unsigned int u_int
Definition:
GTypes.hh:38
u_short
unsigned short u_short
Definition:
GTypes.hh:33
src
Base
GTypes.hh
Generated on Fri Mar 27 2020 19:06:45 for GCpp general purpose C++ library by
1.8.5