Basic_Types.h File Reference

Go to the source code of this file.

Typedefs

typedef ACE::If_Then_Else
< (sizeof(void *)==sizeof(signed
int)), signed int,
ACE::If_Then_Else< (sizeof(void
*)==sizeof(signed long)),
signed long, ACE::If_Then_Else
< (sizeof(void *)==sizeof(signed
long long)), signed long long,
void >::result_type >
::result_type >::result_typ 
intptr_t )
typedef ACE::If_Then_Else
< (sizeof(void *)==sizeof(unsigned
int)), unsigned int,
ACE::If_Then_Else< (sizeof(void
*)==sizeof(unsigned long)),
unsigned long,
ACE::If_Then_Else< (sizeof(void
*)==sizeof(unsigned long long)),
unsigned long long, void >
::result_type >::result_type >
::result_typ 
uintptr_t )
typedef ACE_UINT8_TYPE ACE_UINT8
typedef ACE_INT16_TYPE ACE_INT16
typedef ACE_UINT16_TYPE ACE_UINT16
typedef ACE_INT32_TYPE ACE_INT32
typedef ACE_UINT32_TYPE ACE_UINT32
typedef ACE_INT64_TYPE ACE_INT64
typedef ACE_UINT64_TYPE ACE_UINT64
typedef unsigned char ACE_Byte
 Define a generic byte for use in codecs.

Functions

ACE_BEGIN_VERSIONED_NAMESPACE_DECL
ACE_UINT32 
ACE_U64_TO_U32 (ACE_UINT64 n)
ACE_UINT32 ACE_CU64_TO_CU32 (ACE_UINT64 n)

Variables

ACE_BEGIN_VERSIONED_NAMESPACE_DECL
typedef ACE_INT8_TYPE 
ACE_INT8

Detailed Description

Author:
David L. Levine

defines the list of preprocessor macros below. The config.h file can pre-define any of these to short-cut the definitions. This is usually only necessary if the preprocessor does all of its math using integers.

Sizes of built-in types:

Wrappers for built-in types of specific sizes:

Byte-order (endian-ness) determination: ACE_BYTE_ORDER, to either ACE_BIG_ENDIAN or ACE_LITTLE_ENDIAN

Definition in file Basic_Types.h.


Typedef Documentation

typedef unsigned char ACE_Byte

Define a generic byte for use in codecs.

Definition at line 308 of file Basic_Types.h.

typedef int ACE_INT16

Definition at line 230 of file Basic_Types.h.

typedef long ACE_INT32

Definition at line 254 of file Basic_Types.h.

__extension__ typedef long long ACE_INT64

Definition at line 278 of file Basic_Types.h.

typedef unsigned int ACE_UINT16

Definition at line 242 of file Basic_Types.h.

typedef unsigned long ACE_UINT32

Definition at line 266 of file Basic_Types.h.

__extension__ typedef unsigned long long ACE_UINT64

Definition at line 293 of file Basic_Types.h.

typedef unsigned char ACE_UINT8

Definition at line 222 of file Basic_Types.h.

typedef ACE::If_Then_Else< (sizeof (void*) == sizeof (signed int)), signed int, ACE::If_Then_Else< (sizeof (void*) == sizeof (signed long)), signed long, ACE::If_Then_Else< (sizeof (void*) == sizeof (signed long long)), signed long long, void >::result_type >::result_type >::result_typ intptr_t)

Definition at line 100 of file Basic_Types.h.

typedef ACE::If_Then_Else< (sizeof (void*) == sizeof (unsigned int)), unsigned int, ACE::If_Then_Else< (sizeof (void*) == sizeof (unsigned long)), unsigned long, ACE::If_Then_Else< (sizeof (void*) == sizeof (unsigned long long)), unsigned long long, void >::result_type >::result_type >::result_typ uintptr_t)

Definition at line 114 of file Basic_Types.h.


Function Documentation

ACE_UINT32 ACE_CU64_TO_CU32 ( ACE_UINT64  n  )  [inline]

Definition at line 411 of file Basic_Types.h.

00412 {
00413   return static_cast<ACE_UINT32> (n);
00414 }

ACE_BEGIN_VERSIONED_NAMESPACE_DECL ACE_UINT32 ACE_U64_TO_U32 ( ACE_UINT64  n  )  [inline]

Definition at line 405 of file Basic_Types.h.

00406 {
00407   return static_cast<ACE_UINT32> (n);
00408 }


Variable Documentation

typedef char ACE_INT8

Definition at line 212 of file Basic_Types.h.

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines

Generated on 10 Aug 2018 for ACE by  doxygen 1.6.1