Value_TypeCode.inl

Go to the documentation of this file.
00001 // -*- C++ -*-
00002 //
00003 // $Id: Value_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::Value<StringType,
00013                      TypeCodeType,
00014                      FieldArrayType,
00015                      RefCountPolicy>::Value (
00016   CORBA::TCKind kind,
00017   char const * id,
00018   char const * name,
00019   CORBA::ValueModifier modifier,
00020 #if defined (__BORLANDC__) && (__BORLANDC__ < 0x572)
00021   // Borland C++ currently can't handle a reference to
00022   // const pointer to const CORBA::TypeCode_ptr
00023   TypeCodeType concrete_base,
00024 #else
00025   TypeCodeType const & concrete_base,
00026 #endif
00027   FieldArrayType const & fields,
00028   CORBA::ULong nfields)
00029   : ::CORBA::TypeCode (kind)
00030   , RefCountPolicy ()
00031   , base_attributes_ (id, name)
00032   , type_modifier_ (modifier)
00033   , concrete_base_ (concrete_base)
00034   , nfields_ (nfields)
00035   , fields_ (fields)
00036 {
00037 }
00038 
00039 template <typename StringType,
00040           typename TypeCodeType,
00041           class FieldArrayType,
00042           class RefCountPolicy>
00043 ACE_INLINE
00044 TAO::TypeCode::Value<StringType,
00045                      TypeCodeType,
00046                      FieldArrayType,
00047                      RefCountPolicy>::Value (
00048   CORBA::TCKind kind,
00049   char const * id)
00050   : ::CORBA::TypeCode (kind)
00051   , RefCountPolicy ()
00052   , base_attributes_ (id)
00053   , type_modifier_ (CORBA::VM_NONE)
00054   , concrete_base_ ()
00055   , nfields_ (0)
00056   , fields_ ()
00057 {
00058 }
00059 
00060 TAO_END_VERSIONED_NAMESPACE_DECL

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