Main Page   Class Hierarchy   Alphabetical List   Compound List   File List   Compound Members   File Members   Related Pages  

Basic_Types.h File Reference

#include "ace/pre.h"
#include "ace/config-all.h"
#include "ace/ACE_export.h"
#include "ace/post.h"

Include dependency graph for Basic_Types.h:

Include dependency graph

This graph shows which files directly or indirectly include this file:

Included by dependency graph

Go to the source code of this file.

Defines

#define MAXPATHLEN   _MAX_PATH
#define ACE_SIZEOF_CHAR   1
#define ACE_SIZEOF_WCHAR   0
#define ACE_SIZEOF_LONG_LONG   8
#define ACE_WINT_T   wint_t
#define ACE_WCHAR_T   wchar_t
#define ACE_SIZEOF_VOID_P   ACE_SIZEOF_LONG
#define ACE_LONGLONG_TO_PTR(PTR_TYPE, L)   ACE_reinterpret_cast (PTR_TYPE, ACE_static_cast (ptr_arith_t, L))
#define ACE_U64_TO_U32(n)   (ACE_static_cast (ACE_UINT32, (n)))
#define ACE_CU64_TO_CU32(n)   (ACE_static_cast (ACE_CAST_CONST ACE_UINT32, (n)))
#define ACE_UINT64_LITERAL(n)   n ## ui64
#define ACE_INT64_LITERAL(n)   n ## i64
#define ACE_UINT64_FORMAT_SPECIFIER   ACE_LIB_TEXT ("%llu")
#define ACE_INT64_FORMAT_SPECIFIER   ACE_LIB_TEXT ("%lld")
#define ACE_SSIZE_T_FORMAT_SPECIFIER   ACE_LIB_TEXT ("%d")
#define ACE_SIZE_T_FORMAT_SPECIFIER   ACE_LIB_TEXT ("%u")
#define ACE_UINT64_DBLCAST_ADAPTER(n)   ACE_static_cast (__int64, n)
#define ACE_CHAR_MAX   0x7F
#define ACE_CHAR_MIN   -(ACE_CHAR_MAX)-1
#define ACE_OCTET_MAX   0xFF
#define ACE_INT16_MAX   0x7FFF
#define ACE_INT16_MIN   -(ACE_INT16_MAX)-1
#define ACE_UINT16_MAX   0xFFFF
#define ACE_WCHAR_MAX   ACE_UINT16_MAX
#define ACE_INT32_MAX   0x7FFFFFFF
#define ACE_INT32_MIN   -(ACE_INT32_MAX)-1
#define ACE_UINT32_MAX   0xFFFFFFFF
#define ACE_INT64_MAX   ACE_INT64_LITERAL(0x7FFFFFFFFFFFFFFF)
#define ACE_INT64_MIN   -(ACE_INT64_MAX)-1
#define ACE_UINT64_MAX   ACE_UINT64_LITERAL(0xFFFFFFFFFFFFFFFF)
#define ACE_FLT_MAX   3.402823466e+38F
#define ACE_DBL_MAX   1.7976931348623158e+308
#define ACE_BIG_ENDIAN   0x3210
#define ACE_BYTE_ORDER   ACE_BIG_ENDIAN

Typedefs

typedef unsigned long long ACE_UINT64
typedef ACE_UINT16 ACE_USHORT16
typedef unsigned char ACE_Byte
typedef unsigned int ptr_arith_t
typedef int ssize_t


Detailed Description

Id:
Basic_Types.h,v 1.1.1.4 2003/02/21 18:36:32 chad Exp

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.


Define Documentation

#define ACE_BIG_ENDIAN   0x3210
 

Definition at line 636 of file Basic_Types.h.

#define ACE_BYTE_ORDER   ACE_BIG_ENDIAN
 

Definition at line 637 of file Basic_Types.h.

#define ACE_CHAR_MAX   0x7F
 

Definition at line 578 of file Basic_Types.h.

#define ACE_CHAR_MIN   -(ACE_CHAR_MAX)-1
 

Definition at line 579 of file Basic_Types.h.

#define ACE_CU64_TO_CU32      (ACE_static_cast (ACE_CAST_CONST ACE_UINT32, (n)))
 

Definition at line 471 of file Basic_Types.h.

Referenced by ACE_High_Res_Timer::dump, ACE_Throughput_Stats::dump_results, ACE_Basic_Stats::dump_results, and ACE_Sample_History::dump_samples.

#define ACE_DBL_MAX   1.7976931348623158e+308
 

Definition at line 593 of file Basic_Types.h.

#define ACE_FLT_MAX   3.402823466e+38F
 

Definition at line 592 of file Basic_Types.h.

#define ACE_INT16_MAX   0x7FFF
 

Definition at line 581 of file Basic_Types.h.

#define ACE_INT16_MIN   -(ACE_INT16_MAX)-1
 

Definition at line 582 of file Basic_Types.h.

#define ACE_INT32_MAX   0x7FFFFFFF
 

Definition at line 585 of file Basic_Types.h.

#define ACE_INT32_MIN   -(ACE_INT32_MAX)-1
 

Definition at line 586 of file Basic_Types.h.

#define ACE_INT64_FORMAT_SPECIFIER   ACE_LIB_TEXT ("%lld")
 

Definition at line 503 of file Basic_Types.h.

#define ACE_INT64_LITERAL      n ## i64
 

Definition at line 491 of file Basic_Types.h.

#define ACE_INT64_MAX   ACE_INT64_LITERAL(0x7FFFFFFFFFFFFFFF)
 

Definition at line 588 of file Basic_Types.h.

#define ACE_INT64_MIN   -(ACE_INT64_MAX)-1
 

Definition at line 589 of file Basic_Types.h.

#define ACE_LONGLONG_TO_PTR PTR_TYPE,
     ACE_reinterpret_cast (PTR_TYPE, ACE_static_cast (ptr_arith_t, L))
 

Definition at line 286 of file Basic_Types.h.

#define ACE_OCTET_MAX   0xFF
 

Definition at line 580 of file Basic_Types.h.

#define ACE_SIZE_T_FORMAT_SPECIFIER   ACE_LIB_TEXT ("%u")
 

Definition at line 518 of file Basic_Types.h.

#define ACE_SIZEOF_CHAR   1
 

Definition at line 87 of file Basic_Types.h.

#define ACE_SIZEOF_LONG_LONG   8
 

Definition at line 178 of file Basic_Types.h.

#define ACE_SIZEOF_VOID_P   ACE_SIZEOF_LONG
 

Definition at line 257 of file Basic_Types.h.

#define ACE_SIZEOF_WCHAR   0
 

Definition at line 97 of file Basic_Types.h.

#define ACE_SSIZE_T_FORMAT_SPECIFIER   ACE_LIB_TEXT ("%d")
 

Definition at line 510 of file Basic_Types.h.

#define ACE_U64_TO_U32      (ACE_static_cast (ACE_UINT32, (n)))
 

Definition at line 470 of file Basic_Types.h.

Referenced by ACE_High_Res_Timer::calibrate, ACE_Basic_Stats::dump_results, ACE_Basic_Stats::sample, and ACE_Stats::std_dev.

#define ACE_UINT16_MAX   0xFFFF
 

Definition at line 583 of file Basic_Types.h.

#define ACE_UINT32_MAX   0xFFFFFFFF
 

Definition at line 587 of file Basic_Types.h.

Referenced by ACE_Map_Manager::open.

#define ACE_UINT64_DBLCAST_ADAPTER      ACE_static_cast (__int64, n)
 

Definition at line 528 of file Basic_Types.h.

Referenced by ACE_Throughput_Stats::dump_throughput.

#define ACE_UINT64_FORMAT_SPECIFIER   ACE_LIB_TEXT ("%llu")
 

Definition at line 499 of file Basic_Types.h.

Referenced by ACE_Log_Msg::log.

#define ACE_UINT64_LITERAL      n ## ui64
 

Definition at line 490 of file Basic_Types.h.

Referenced by ACE_Stats::mean.

#define ACE_UINT64_MAX   ACE_UINT64_LITERAL(0xFFFFFFFFFFFFFFFF)
 

Definition at line 590 of file Basic_Types.h.

#define ACE_WCHAR_MAX   ACE_UINT16_MAX
 

Definition at line 584 of file Basic_Types.h.

#define ACE_WCHAR_T   wchar_t
 

Definition at line 229 of file Basic_Types.h.

Referenced by ACE_OS_String::strcmp, ACE_OS_String::strlen, ACE_OS_String::strncat, ACE_OS_String::strnchr, ACE_OS_String::strncmp, ACE_OS_String::strncpy, ACE_OS_String::strnlen, ACE_OS_String::strnstr, ACE_OS_String::strsncpy, ACE_OS_String::wcscmp_emulation, ACE_OS_String::wcslen_emulation, ACE_OS_String::wcsncat_emulation, ACE_OS_String::wcsncmp_emulation, and ACE_OS_String::wcsncpy_emulation.

#define ACE_WINT_T   wint_t
 

Definition at line 228 of file Basic_Types.h.

Referenced by ACE_OS_String::strnchr.

#define MAXPATHLEN   _MAX_PATH
 

Definition at line 78 of file Basic_Types.h.

Referenced by ACE_MEM_Acceptor::accept, ACE_Logging_Strategy::ACE_Logging_Strategy, ACE_MMAP_Memory_Pool::ACE_MMAP_Memory_Pool, ACE_Name_Options::ACE_Name_Options, ACE_System_Time::ACE_System_Time, ACE_MEM_Connector::connect, ACE_Local_Name_Space::create_manager_i, ACE::dirname, ACE_Logging_Strategy::handle_timeout, ACE_Log_Msg::inherit_hook, ACE_MT_MEM_IO::init, ACE_NT_Service::insert, ACE_Lib_Find::ldfind, ACE_Lib_Find::ldopen, ACE_Mem_Map::open, ACE_FIFO::open, ACE_DLL_Handle::open, ACE_Configuration_Heap::open, ACE_OS::sema_init, and ACE_FILE_Addr::set.


Typedef Documentation

typedef unsigned char ACE_Byte
 

Definition at line 222 of file Basic_Types.h.

Referenced by ACE_Base64::decode, ACE_Base64::encode, ACE_Base64::init, and ACE_Base64::length.

typedef unsigned long long ACE_UINT64
 

Definition at line 186 of file Basic_Types.h.

Referenced by ACE_Sample_History::ACE_Sample_History, ACE_Basic_Stats::dump_results, ACE_Sample_History::dump_samples, ACE_Throughput_Stats::dump_throughput, ACE_Sock_Connect::get_bcast_addr, ACE_OS::gethrtime, ACE_High_Res_Timer::global_scale_factor, ACE_Log_Msg::log, ACE_Stats::mean, ACE_SOCK_Dgram_Bcast::mk_broadcast, ACE_Stats::print_summary, ACE_Stats::quotient, ACE_Throughput_Stats::sample, ACE_Sample_History::sample, ACE_Basic_Stats::sample, ACE_Stats_Value::scaled_value, ACE_Stats::square_root, and ACE_Stats::std_dev.

typedef ACE_UINT16 ACE_USHORT16
 

Definition at line 219 of file Basic_Types.h.

Referenced by ACE_Name_Request::ACE_Name_Request, ACE_NS_String::ACE_NS_String, ACE_NS_WString::ACE_NS_WString, ACE_NS_String::char_rep, ACE_NS_String::hash, ACE_Name_Request::name, ACE_NS_String::operator ACE_NS_WString, ACE_Local_Name_Space::shared_bind_i, ACE_NS_WString::ushort_rep, and ACE_Name_Request::value.

typedef unsigned int ptr_arith_t
 

Definition at line 269 of file Basic_Types.h.

typedef int ssize_t
 

Definition at line 645 of file Basic_Types.h.

Referenced by ACE_Hash_Map_Const_Iterator_Base_Ex::ACE_Hash_Map_Const_Iterator_Base_Ex, ACE_Hash_Map_Iterator_Base_Ex::ACE_Hash_Map_Iterator_Base_Ex, ACE_Timer_Heap_T::ACE_Timer_Heap_T, ACE_MEM_SAP::acquire_buffer, ACE_POSIX_AIOCB_Proactor::allocate_aio_slot, ACE_POSIX_CB_Proactor::allocate_aio_slot, ACE_Select_Reactor_Handler_Repository::bind, ACE_Timer_Heap_T::cancel, ACE_UPIPE_Connector::connect, ACE_Hash_Map_Iterator_Base_Ex::done, ACE_Name_Request::encode, ACE_Select_Reactor_Handler_Repository::find, ACE_Hash_Map_Iterator_Base_Ex::forward_i, ACE_Reactive_MEM_IO::get_buf_len, ACE_POSIX_AIOCB_Proactor::get_result_status, ACE_Timer_Heap_T::grow_heap, ACE_Service_Manager::handle_input, ACE_Process_Manager::handle_signal, ACE_Fixed_Set::insert, ACE_Service_Manager::list_services, ACE_Log_Msg::log, ACE_Registry::make_name, ACE_Hash_Map_Iterator_Base_Ex::next, ACE_Select_Reactor_T::notify, ACE_Select_Reactor_Notify::notify, ACE_Dev_Poll_Reactor::notify, ACE_Dev_Poll_Reactor_Notify::notify, ACE_WIN32_Proactor::post_wakeup_completions, ACE_OS::pread, ACE_Sbrk_Memory_Pool::protect, ACE_Shared_Memory_Pool::protect, ACE_Local_Memory_Pool::protect, ACE_MMAP_Memory_Pool::protect, ACE_Mem_Map::protect, ACE_Malloc_T< ACE_MEM_POOL_2, ACE_LOCK, ACE_CB >::protect, ACE_Allocator_Adapter::protect, ACE_Static_Allocator_Base::protect, ACE_New_Allocator::protect, ACE_OS::pwrite, ACE_WIN32_Asynch_Read_File::read, ACE_WIN32_Asynch_Read_Stream::read, ACE_OS::read, ACE_OS::read_n, ACE_Select_Reactor_Notify::read_notify_pipe, ACE_Dev_Poll_Reactor_Notify::read_notify_pipe, ACE_OS::readv, ACE::readv_n, ACE_SPIPE_Stream::recv, ACE_SOCK_IO::recv, ACE_SOCK_Dgram::recv, ACE_MEM_IO::recv, ACE_SOCK_Dgram_SC::recv, ACE_Streambuf_T::recv, ACE_FILE_IO::recv, ACE_FIFO_Recv_Msg::recv, ACE_DEV_IO::recv, ACE::recv, ACE_Reactive_MEM_IO::recv_buf, ACE_SPIPE_Stream::recv_handle, ACE_UPIPE_Stream::recv_n, ACE_SOCK_Dgram_SC::recv_n, ACE_Streambuf_T::recv_n, ACE::recv_n, ACE::recv_n_i, ACE_Name_Proxy::recv_reply, ACE::recvv, ACE::recvv_n_i, ACE_Process_Manager::register_handler, ACE_Process_Manager::remove, ACE_Remote_Token_Proxy::request_reply, ACE_Name_Proxy::request_reply, ACE_Timer_Heap_T::reset_interval, ACE_Hash_Map_Iterator_Base_Ex::reverse_i, ACE_String_Base::rfind, ACE_UPIPE_Stream::send, ACE_SPIPE_Stream::send, ACE_SOCK_IO::send, ACE_SOCK_Dgram_Bcast::send, ACE_SOCK_Dgram::send, ACE_MEM_IO::send, ACE_Streambuf_T::send, ACE_FILE_IO::send, ACE_FIFO_Send_Msg::send, ACE_DEV_IO::send, ACE::send, ACE_SPIPE_Stream::send_handle, ACE_UPIPE_Stream::send_n, ACE_SOCK_Dgram_SC::send_n, ACE::send_n, ACE::send_n_i, ACE_Name_Proxy::send_request, ACE::sendv, ACE::sendv_n_i, ACE_POSIX_AIOCB_Proactor::start_aio, ACE_String_Base::substr, ACE_SString::substr, ACE_String_Base::substring, ACE_SString::substring, ACE_Sbrk_Memory_Pool::sync, ACE_Shared_Memory_Pool::sync, ACE_Local_Memory_Pool::sync, ACE_Lite_MMAP_Memory_Pool::sync, ACE_MMAP_Memory_Pool::sync, ACE_Mem_Map::sync, ACE_Malloc_T< ACE_MEM_POOL_2, ACE_LOCK, ACE_CB >::sync, ACE_Allocator_Adapter::sync, ACE_Static_Allocator_Base::sync, ACE_New_Allocator::sync, ACE::t_rcv, ACE::t_rcv_n_i, ACE::t_snd, ACE::t_snd_n_i, ACE_Process_Manager::terminate, ACE_POSIX_Asynch_Transmit_File::transmit_file, ACE_Process_Manager::wait, ACE_WIN32_Asynch_Write_File::write, ACE_WIN32_Asynch_Write_Stream::write, ACE_OS::write, ACE_OS::write_n, ACE::write_n, and ACE::writev_n.


Generated on Mon Jun 16 11:28:38 2003 for ACE by doxygen1.2.14 written by Dimitri van Heesch, © 1997-2002