Struct_TypeCode.inl

Go to the documentation of this file.
00001 // -*- C++ -*-
00002 //
00003 // $Id: Struct_TypeCode.inl 72141 2006-04-19 09:45:01Z jwillemsen $
00004 
00005 TAO_BEGIN_VERSIONED_NAMESPACE_DECL
00006 
00007 template <typename StringType,
00008           typename TypeCodeType,
00009           class FieldArrayType,
00010           class RefCountPolicy>
00011 ACE_INLINE
00012 TAO::TypeCode::Struct<StringType,
00013                       TypeCodeType,
00014                       FieldArrayType,
00015                       RefCountPolicy>::Struct (
00016   CORBA::TCKind kind,
00017   char const * id,
00018   char const * name,
00019   FieldArrayType const & fields,
00020   CORBA::ULong nfields)
00021   : ::CORBA::TypeCode (kind)
00022   , RefCountPolicy ()
00023   , base_attributes_ (id, name)
00024   , nfields_ (nfields)
00025   , fields_ (fields)
00026 {
00027 }
00028 
00029 template <typename StringType,
00030           typename TypeCodeType,
00031           class FieldArrayType,
00032           class RefCountPolicy>
00033 ACE_INLINE
00034 TAO::TypeCode::Struct<StringType,
00035                       TypeCodeType,
00036                       FieldArrayType,
00037                       RefCountPolicy>::Struct (
00038   CORBA::TCKind kind,
00039   char const * id)
00040   : ::CORBA::TypeCode (kind)
00041   , RefCountPolicy ()
00042   , base_attributes_ (id)
00043   , nfields_ (0)
00044   , fields_ ()
00045 {
00046   // CORBA::tk_except is not allowed in the recursive TypeCode case.
00047   // ACE_ASSERT (kind == CORBA::tk_struct);
00048 }
00049 
00050 TAO_END_VERSIONED_NAMESPACE_DECL

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