Revert "Minor modernization of DynamicAny code"
[ACE_TAO.git] / TAO / tao / Basic_Types.h
blobfacd7e593489443aed84e91f9aefc23067da6b3a
1 // -*- C++ -*-
3 //=============================================================================
4 /**
5 * @file Basic_Types.h
7 * @authors Jeff Parsons
8 */
9 //=============================================================================
12 #ifndef TAO_BASIC_TYPES_H
13 #define TAO_BASIC_TYPES_H
15 #include /**/ "ace/pre.h"
16 #include "ace/CDR_Base.h"
18 #if !defined (ACE_LACKS_PRAGMA_ONCE)
19 # pragma once
20 #endif /* ACE_LACKS_PRAGMA_ONCE */
22 #include "tao/orbconf.h"
24 TAO_BEGIN_VERSIONED_NAMESPACE_DECL
26 namespace TAO
28 template <typename charT> class String_var;
29 template <typename charT> class String_out;
32 namespace CORBA
34 /**
35 * @name CORBA Primitive Types
37 * Declarations of all CORBA primitive types.
39 //@{
40 typedef ACE_CDR::Boolean Boolean;
41 typedef Boolean &Boolean_out;
43 typedef ACE_CDR::Octet Octet;
44 typedef Octet &Octet_out;
46 typedef ACE_CDR::Short Short;
47 typedef Short &Short_out;
49 typedef ACE_CDR::UShort UShort;
50 typedef UShort &UShort_out;
52 typedef ACE_CDR::Long Long;
53 typedef Long &Long_out;
55 typedef ACE_CDR::ULong ULong;
56 typedef ULong &ULong_out;
58 typedef ACE_CDR::LongLong LongLong;
59 typedef LongLong &LongLong_out;
61 typedef ACE_CDR::ULongLong ULongLong;
62 typedef ULongLong &ULongLong_out;
64 typedef ACE_CDR::Float Float;
65 typedef Float &Float_out;
67 typedef ACE_CDR::Double Double;
68 typedef Double &Double_out;
70 typedef ACE_CDR::LongDouble LongDouble;
71 typedef LongDouble &LongDouble_out;
73 typedef ACE_CDR::Char Char;
74 typedef Char &Char_out;
76 typedef ACE_CDR::WChar WChar;
77 typedef WChar &WChar_out;
79 typedef ACE_CDR::Int16 Int16;
80 typedef Int16 &Int16_out;
82 typedef ACE_CDR::UInt16 UInt16;
83 typedef UInt16 &UInt16_out;
85 typedef ACE_CDR::Int32 Int32;
86 typedef Int32 &Int32_out;
88 typedef ACE_CDR::UInt32 UInt32;
89 typedef UInt32 &UInt32_out;
91 typedef ACE_CDR::Int64 Int64;
92 typedef Int64 &Int64_out;
94 typedef ACE_CDR::UInt64 UInt64;
95 typedef UInt64 &UInt64_out;
96 //@}
98 typedef TAO::String_var<CORBA::Char> String_var;
99 typedef TAO::String_out<CORBA::Char> String_out;
100 typedef TAO::String_var<CORBA::WChar> WString_var;
101 typedef TAO::String_out<CORBA::WChar> WString_out;
103 class TypeCode;
104 typedef TypeCode *TypeCode_ptr;
106 class Any;
109 class TAO_InputCDR;
110 class TAO_OutputCDR;
112 TAO_END_VERSIONED_NAMESPACE_DECL
114 #include /**/ "ace/post.h"
116 #endif /* TAO_BASIC_TYPES_H */