blob: 5355e8923d6b35edaad50251217be34c6dedc027 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
|
// -*- C++ -*-
//
// $Id$
TAO_BEGIN_VERSIONED_NAMESPACE_DECL
ACE_INLINE
TAO::TypeCodeFactory::Recursive_TypeCode::Recursive_TypeCode (char const * id)
: ::CORBA::TypeCode (CORBA::TAO_TC_KIND_COUNT)
, ::TAO::True_RefCount_Policy ()
, id_ (id)
, the_typecode_ ()
{
}
ACE_INLINE void
TAO::TypeCodeFactory::Recursive_TypeCode::the_typecode (CORBA::TypeCode_ptr tc)
{
this->the_typecode_ = CORBA::TypeCode::_duplicate (tc);
// @@ Lazy, I know. :(
CORBA::TCKind & mutable_kind = const_cast<CORBA::TCKind &> (this->kind_);
mutable_kind = tc->kind ();
}
TAO_END_VERSIONED_NAMESPACE_DECL
|