summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorOssama Othman <ossama-othman@users.noreply.github.com>2005-03-25 04:16:06 +0000
committerOssama Othman <ossama-othman@users.noreply.github.com>2005-03-25 04:16:06 +0000
commitbcc50371df011586a2615e31b747d29adbaa6409 (patch)
tree0cfe87c80dd10e85cd908619903f20fe914a545f
parent56e85d0bc7ac2345dd1f4754006472886b45639f (diff)
downloadATCD-bcc50371df011586a2615e31b747d29adbaa6409.tar.gz
*** empty log message ***
-rw-r--r--TAO/tao/TypeCode_Constants.cpp140
1 files changed, 0 insertions, 140 deletions
diff --git a/TAO/tao/TypeCode_Constants.cpp b/TAO/tao/TypeCode_Constants.cpp
deleted file mode 100644
index 69771b39f6c..00000000000
--- a/TAO/tao/TypeCode_Constants.cpp
+++ /dev/null
@@ -1,140 +0,0 @@
-// $Id$
-
-
-#include "TypeCode_Constants.h"
-
-
-ACE_RCSID (tao,
- TypeCode_Constants,
- "$Id$")
-
-
-#include "Null_RefCount_Policy.h"
-#include "Empty_Param_TypeCode.h"
-#include "Objref_TypeCode.h"
-#include "String_TypeCode.h"
-#include "Value_TypeCode.h"
-
-
-namespace TAO
-{
- namespace TypeCode
- {
- // Notice that these are all statically instantiated and not
- // exported. There CORBA::TypeCode_ptr counterparts are, however,
- // exported.
-
- Empty_Param tc_null (CORBA::tk_null);
- Empty_Param tc_void (CORBA::tk_void);
- Empty_Param tc_boolean (CORBA::tk_boolean);
- Empty_Param tc_char (CORBA::tk_char);
- Empty_Param tc_wchar (CORBA::tk_wchar);
- Empty_Param tc_short (CORBA::tk_short);
- Empty_Param tc_ushort (CORBA::tk_ushort);
- Empty_Param tc_long (CORBA::tk_long);
- Empty_Param tc_ulong (CORBA::tk_ulong);
- Empty_Param tc_longlong (CORBA::tk_longlong);
- Empty_Param tc_ulonglong (CORBA::tk_ulonglong);
- Empty_Param tc_float (CORBA::tk_float);
- Empty_Param tc_double (CORBA::tk_double);
- Empty_Param tc_longdouble (CORBA::tk_longdouble);
- Empty_Param tc_octet (CORBA::tk_octet);
- Empty_Param tc_any (CORBA::tk_any);
- Empty_Param tc_TypeCode (CORBA::tk_TypeCode);
- Empty_Param tc_Principal (CORBA::tk_Principal);
-
- // --------------
-
- String<TAO::Null_RefCount_Policy> tc_string (CORBA::tk_string, 0);
- String<TAO::Null_RefCount_Policy> tc_wstring (CORBA::tk_wstring, 0);
-
- // --------------
-
- char const tc_object_id[] = "IDL:omg.org/CORBA/Object:1.0";
- char const tc_object_name[] = "Object";
- Objref<char const *,
- CORBA::tk_objref,
- TAO::Null_RefCount_Policy> tc_Object (tc_object_id, tc_object_name);
-
- char const tc_component_id[] = "IDL:omg.org/CORBA/CCMObject:1.0";
- char const tc_component_name[] = "CCMObject";
- Objref<char const *,
- CORBA::tk_component,
- TAO::Null_RefCount_Policy> tc_Component (tc_component_id,
- tc_component_name);
-
- char const tc_home_id[] = "IDL:omg.org/CORBA/CCMHome:1.0";
- char const tc_home_name[] = "CCMHome";
- Objref<char const *,
- CORBA::tk_home,
- TAO::Null_RefCount_Policy> tc_Home (tc_home_id, tc_home_name);
-
- // --------------
-
- char const tc_value_base_id[] = "IDL:omg.org/CORBA/ValueBase:1.0";
- char const tc_value_base_name[] = "ValueBase";
- Value<char const *,
- Value_Field<char const *> const *,
- CORBA::tk_value,
- TAO::Null_RefCount_Policy> tc_ValueBase (tc_value_base_id,
- tc_value_base_name,
- CORBA::VM_NONE,
- 0, // Nil TypeCode
- 0, // Field array
- 0); // Field count
-
- char const tc_event_base_id[] = "IDL:omg.org/CORBA/EventBase:1.0";
- char const tc_event_base_name[] = "EventBase";
- Value<char const *,
- Value_Field<char const *> const *,
- CORBA::tk_event,
- TAO::Null_RefCount_Policy> tc_EventBase (tc_event_base_id,
- tc_event_base_name,
- CORBA::VM_NONE,
- 0, // Nil TypeCode
- 0, // Field array
- 0); // Field count
-
- } // End TypeCode namespace
-} // End TAO namespace
-
-// ------------------------------------------------------------------
-// OMG defined TypeCode constants
-// ------------------------------------------------------------------
-
-namespace CORBA
-{
- // Notice that these are constant TypeCode references/pointers, not
- // constant TypeCodes. TypeCodes are effectively read-only since
- // all non-static TypeCode operations are const.
-
- TypeCode_ptr const _tc_null = &TAO::TypeCode::tc_null;
- TypeCode_ptr const _tc_void = &TAO::TypeCode::tc_void;
- TypeCode_ptr const _tc_boolean = &TAO::TypeCode::tc_boolean;
- TypeCode_ptr const _tc_char = &TAO::TypeCode::tc_char;
- TypeCode_ptr const _tc_wchar = &TAO::TypeCode::tc_wchar;
- TypeCode_ptr const _tc_short = &TAO::TypeCode::tc_short;
- TypeCode_ptr const _tc_ushort = &TAO::TypeCode::tc_ushort;
- TypeCode_ptr const _tc_long = &TAO::TypeCode::tc_long;
- TypeCode_ptr const _tc_ulong = &TAO::TypeCode::tc_ulong;
- TypeCode_ptr const _tc_longlong = &TAO::TypeCode::tc_longlong;
- TypeCode_ptr const _tc_ulonglong = &TAO::TypeCode::tc_ulonglong;
- TypeCode_ptr const _tc_float = &TAO::TypeCode::tc_float;
- TypeCode_ptr const _tc_double = &TAO::TypeCode::tc_double;
- TypeCode_ptr const _tc_longdouble = &TAO::TypeCode::tc_longdouble;
- TypeCode_ptr const _tc_octet = &TAO::TypeCode::tc_octet;
- TypeCode_ptr const _tc_any = &TAO::TypeCode::tc_any;
- TypeCode_ptr const _tc_TypeCode = &TAO::TypeCode::tc_TypeCode;
- TypeCode_ptr const _tc_Principal = &TAO::TypeCode::tc_Principal;
-
- TypeCode_ptr const _tc_string = &TAO::TypeCode::tc_string;
- TypeCode_ptr const _tc_wstring = &TAO::TypeCode::tc_wstring;
-
- TypeCode_ptr const _tc_Object = &TAO::TypeCode::tc_Object;
- TypeCode_ptr const _tc_Component = &TAO::TypeCode::tc_Component;
- TypeCode_ptr const _tc_Home = &TAO::TypeCode::tc_Home;
-
- TypeCode_ptr const _tc_ValueBase = &TAO::TypeCode::tc_ValueBase;
- TypeCode_ptr const _tc_EventBase = &TAO::TypeCode::tc_EventBase;
-
-}