00001 // -*- C++ -*- 00002 00003 //============================================================================= 00004 /** 00005 * @file Basic_Types.h 00006 * 00007 * $Id: Basic_Types.h 72136 2006-04-19 09:10:19Z jwillemsen $ 00008 * 00009 * @authors Jeff Parsons 00010 */ 00011 //============================================================================= 00012 00013 00014 #ifndef TAO_BASIC_TYPES_H 00015 #define TAO_BASIC_TYPES_H 00016 00017 #include /**/ "ace/pre.h" 00018 #include "ace/CDR_Base.h" 00019 00020 #if !defined (ACE_LACKS_PRAGMA_ONCE) 00021 # pragma once 00022 #endif /* ACE_LACKS_PRAGMA_ONCE */ 00023 00024 #include "tao/orbconf.h" 00025 00026 TAO_BEGIN_VERSIONED_NAMESPACE_DECL 00027 00028 namespace TAO 00029 { 00030 template <typename charT> class String_var; 00031 template <typename charT> class String_out; 00032 } 00033 00034 namespace CORBA 00035 { 00036 /** 00037 * @name CORBA Primitive Types 00038 * 00039 * Declarations of all CORBA primitive types. 00040 */ 00041 //@{ 00042 typedef ACE_CDR::Boolean Boolean; 00043 typedef Boolean &Boolean_out; 00044 00045 typedef ACE_CDR::Octet Octet; 00046 typedef Octet &Octet_out; 00047 00048 typedef ACE_CDR::Short Short; 00049 typedef Short &Short_out; 00050 00051 typedef ACE_CDR::UShort UShort; 00052 typedef UShort &UShort_out; 00053 00054 typedef ACE_CDR::Long Long; 00055 typedef Long &Long_out; 00056 00057 typedef ACE_CDR::ULong ULong; 00058 typedef ULong &ULong_out; 00059 00060 typedef ACE_CDR::LongLong LongLong; 00061 typedef LongLong &LongLong_out; 00062 00063 typedef ACE_CDR::ULongLong ULongLong; 00064 typedef ULongLong &ULongLong_out; 00065 00066 typedef ACE_CDR::Float Float; 00067 typedef Float &Float_out; 00068 00069 typedef ACE_CDR::Double Double; 00070 typedef Double &Double_out; 00071 00072 typedef ACE_CDR::LongDouble LongDouble; 00073 typedef LongDouble &LongDouble_out; 00074 00075 typedef ACE_CDR::Char Char; 00076 typedef Char &Char_out; 00077 00078 typedef ACE_CDR::WChar WChar; 00079 typedef WChar &WChar_out; 00080 //@} 00081 00082 typedef TAO::String_var<CORBA::Char> String_var; 00083 typedef TAO::String_out<CORBA::Char> String_out; 00084 typedef TAO::String_var<CORBA::WChar> WString_var; 00085 typedef TAO::String_out<CORBA::WChar> WString_out; 00086 00087 class TypeCode; 00088 typedef TypeCode *TypeCode_ptr; 00089 00090 class Any; 00091 } 00092 00093 class TAO_InputCDR; 00094 class TAO_OutputCDR; 00095 00096 TAO_END_VERSIONED_NAMESPACE_DECL 00097 00098 #include /**/ "ace/post.h" 00099 00100 #endif /* TAO_BASIC_TYPES_H */