Go to the documentation of this file.00001
00002
00003
00004 #include "tao/AnyTypeCode/TypeCode_Constants.h"
00005
00006
00007 ACE_RCSID (AnyTypeCode,
00008 TypeCode_Constants,
00009 "$Id: TypeCode_Constants.cpp 72893 2006-06-01 08:58:57Z jwillemsen $")
00010
00011
00012 #include "tao/AnyTypeCode/Null_RefCount_Policy.h"
00013 #include "tao/AnyTypeCode/Empty_Param_TypeCode.h"
00014 #include "tao/AnyTypeCode/Objref_TypeCode_Static.h"
00015 #include "tao/AnyTypeCode/String_TypeCode_Static.h"
00016
00017 TAO_BEGIN_VERSIONED_NAMESPACE_DECL
00018
00019 namespace TAO
00020 {
00021 namespace TypeCode
00022 {
00023
00024
00025
00026
00027 Empty_Param tc_null (CORBA::tk_null);
00028 Empty_Param tc_void (CORBA::tk_void);
00029 Empty_Param tc_boolean (CORBA::tk_boolean);
00030 Empty_Param tc_char (CORBA::tk_char);
00031 Empty_Param tc_wchar (CORBA::tk_wchar);
00032 Empty_Param tc_short (CORBA::tk_short);
00033 Empty_Param tc_ushort (CORBA::tk_ushort);
00034 Empty_Param tc_long (CORBA::tk_long);
00035 Empty_Param tc_ulong (CORBA::tk_ulong);
00036 Empty_Param tc_longlong (CORBA::tk_longlong);
00037 Empty_Param tc_ulonglong (CORBA::tk_ulonglong);
00038 Empty_Param tc_float (CORBA::tk_float);
00039 Empty_Param tc_double (CORBA::tk_double);
00040 Empty_Param tc_longdouble (CORBA::tk_longdouble);
00041 Empty_Param tc_octet (CORBA::tk_octet);
00042 Empty_Param tc_any (CORBA::tk_any);
00043 Empty_Param tc_TypeCode (CORBA::tk_TypeCode);
00044 Empty_Param tc_Principal (CORBA::tk_Principal);
00045
00046
00047
00048 String<TAO::Null_RefCount_Policy> tc_string (CORBA::tk_string, 0);
00049 String<TAO::Null_RefCount_Policy> tc_wstring (CORBA::tk_wstring, 0);
00050
00051
00052
00053 char const tc_object_id[] = "IDL:omg.org/CORBA/Object:1.0";
00054 char const tc_object_name[] = "Object";
00055 Objref<char const *,
00056 TAO::Null_RefCount_Policy> tc_Object (CORBA::tk_objref,
00057 tc_object_id,
00058 tc_object_name);
00059
00060 char const tc_component_id[] = "IDL:omg.org/CORBA/CCMObject:1.0";
00061 char const tc_component_name[] = "CCMObject";
00062 Objref<char const *,
00063 TAO::Null_RefCount_Policy> tc_Component (CORBA::tk_component,
00064 tc_component_id,
00065 tc_component_name);
00066
00067 char const tc_home_id[] = "IDL:omg.org/CORBA/CCMHome:1.0";
00068 char const tc_home_name[] = "CCMHome";
00069 Objref<char const *,
00070 TAO::Null_RefCount_Policy> tc_Home (CORBA::tk_home,
00071 tc_home_id,
00072 tc_home_name);
00073 }
00074 }
00075
00076
00077
00078
00079
00080 namespace CORBA
00081 {
00082
00083
00084
00085
00086 TypeCode_ptr const _tc_null = &TAO::TypeCode::tc_null;
00087 TypeCode_ptr const _tc_void = &TAO::TypeCode::tc_void;
00088 TypeCode_ptr const _tc_boolean = &TAO::TypeCode::tc_boolean;
00089 TypeCode_ptr const _tc_char = &TAO::TypeCode::tc_char;
00090 TypeCode_ptr const _tc_wchar = &TAO::TypeCode::tc_wchar;
00091 TypeCode_ptr const _tc_short = &TAO::TypeCode::tc_short;
00092 TypeCode_ptr const _tc_ushort = &TAO::TypeCode::tc_ushort;
00093 TypeCode_ptr const _tc_long = &TAO::TypeCode::tc_long;
00094 TypeCode_ptr const _tc_ulong = &TAO::TypeCode::tc_ulong;
00095 TypeCode_ptr const _tc_longlong = &TAO::TypeCode::tc_longlong;
00096 TypeCode_ptr const _tc_ulonglong = &TAO::TypeCode::tc_ulonglong;
00097 TypeCode_ptr const _tc_float = &TAO::TypeCode::tc_float;
00098 TypeCode_ptr const _tc_double = &TAO::TypeCode::tc_double;
00099 TypeCode_ptr const _tc_longdouble = &TAO::TypeCode::tc_longdouble;
00100 TypeCode_ptr const _tc_octet = &TAO::TypeCode::tc_octet;
00101 TypeCode_ptr const _tc_any = &TAO::TypeCode::tc_any;
00102 TypeCode_ptr const _tc_TypeCode = &TAO::TypeCode::tc_TypeCode;
00103 TypeCode_ptr const _tc_Principal = &TAO::TypeCode::tc_Principal;
00104
00105 TypeCode_ptr const _tc_string = &TAO::TypeCode::tc_string;
00106 TypeCode_ptr const _tc_wstring = &TAO::TypeCode::tc_wstring;
00107
00108 TypeCode_ptr const _tc_Object = &TAO::TypeCode::tc_Object;
00109 TypeCode_ptr const _tc_Component = &TAO::TypeCode::tc_Component;
00110 TypeCode_ptr const _tc_Home = &TAO::TypeCode::tc_Home;
00111
00112 }
00113
00114 TAO_END_VERSIONED_NAMESPACE_DECL