00001 // -*- C++ -*- 00002 // 00003 // $Id: Recursive_TypeCode.inl 89705 2010-03-29 21:15:42Z mitza $ 00004 00005 TAO_BEGIN_VERSIONED_NAMESPACE_DECL 00006 00007 ACE_INLINE 00008 TAO::TypeCodeFactory::Recursive_TypeCode::Recursive_TypeCode (char const * id) 00009 : ::CORBA::TypeCode (CORBA::TAO_TC_KIND_COUNT) 00010 , ::TAO::True_RefCount_Policy () 00011 , id_ (id) 00012 , the_typecode_ () 00013 { 00014 } 00015 00016 ACE_INLINE void 00017 TAO::TypeCodeFactory::Recursive_TypeCode::the_typecode (CORBA::TypeCode_ptr tc) 00018 { 00019 this->the_typecode_ = tc; 00020 00021 // @@ Lazy, I know. :( 00022 CORBA::TCKind & mutable_kind = const_cast<CORBA::TCKind &> (this->kind_); 00023 00024 mutable_kind = tc->kind (); 00025 } 00026 00027 TAO_END_VERSIONED_NAMESPACE_DECL