TypeCodeA.cpp

Go to the documentation of this file.
00001 // $Id: TypeCodeA.cpp 72891 2006-06-01 08:20:06Z jwillemsen $
00002 
00003 #include "tao/AnyTypeCode/Struct_TypeCode_Static.h"
00004 #include "tao/AnyTypeCode/Null_RefCount_Policy.h"
00005 
00006 
00007 ACE_RCSID (AnyTypeCode,
00008            TypeCode,
00009            "$Id: TypeCodeA.cpp 72891 2006-06-01 08:20:06Z jwillemsen $")
00010 
00011 
00012 TAO_BEGIN_VERSIONED_NAMESPACE_DECL
00013 
00014 namespace TAO
00015 {
00016   namespace TypeCode
00017   {
00018     // Notice that these are all statically instantiated and not
00019     // exported.
00020 
00021     char const tc_bounds_id[]   = "IDL:omg.org/CORBA/TypeCode/Bounds:1.0";
00022     char const tc_bounds_name[] = "Bounds";
00023     Struct<char const *,
00024            CORBA::TypeCode_ptr const *,
00025            Struct_Field<char const *,
00026                         CORBA::TypeCode_ptr const *> const *,
00027            TAO::Null_RefCount_Policy> tc_Bounds (CORBA::tk_except,
00028                                                  tc_bounds_id,
00029                                                  tc_bounds_name,
00030                                                  0,
00031                                                  0);
00032 
00033     char const tc_bad_kind_id[]   = "IDL:omg.org/CORBA/TypeCode/BadKind:1.0";
00034     char const tc_bad_kind_name[] = "BadKind";
00035     Struct<char const *,
00036            CORBA::TypeCode_ptr const *,
00037            Struct_Field<char const *,
00038                         CORBA::TypeCode_ptr const *> const *,
00039            TAO::Null_RefCount_Policy> tc_BadKind (CORBA::tk_except,
00040                                                   tc_bad_kind_id,
00041                                                   tc_bad_kind_name,
00042                                                   0,
00043                                                   0);
00044   }
00045 }
00046 
00047 
00048 // ------------------------------------------------------------------
00049 // OMG defined TypeCode constants
00050 // ------------------------------------------------------------------
00051 
00052 // Notice that these are constant TypeCode references/pointers, not
00053 // constant TypeCodes.  TypeCodes are effectively read-only since
00054 // all non-static TypeCode operations are const.
00055 
00056 
00057 CORBA::TypeCode_ptr const CORBA::TypeCode::_tc_BadKind =
00058   &TAO::TypeCode::tc_BadKind;
00059 CORBA::TypeCode_ptr const CORBA::TypeCode::_tc_Bounds =
00060   &TAO::TypeCode::tc_Bounds;
00061 
00062 
00063 TAO_END_VERSIONED_NAMESPACE_DECL

Generated on Sun Jan 27 13:21:07 2008 for TAO_AnyTypeCode by doxygen 1.3.6