2 TAO_BEGIN_VERSIONED_NAMESPACE_DECL
5 TAO_Tagged_Profile::TAO_Tagged_Profile (TAO_ORB_Core *orb_core)
6 : orb_core_ (orb_core),
8 object_key_extracted_ (false),
17 ACE_INLINE TAO::ObjectKey &
18 TAO_Tagged_Profile::object_key ()
20 if (!this->object_key_extracted_)
21 this->object_key_extracted_ = this->extract_object_key (this->profile_);
23 return this->object_key_;
27 TAO_Tagged_Profile::object_key (TAO::ObjectKey &object_key)
29 this->object_key_.replace (object_key.length (),
31 object_key.get_buffer ());
32 this->object_key_extracted_ = true;
35 ACE_INLINE const TAO::ObjectKey &
36 TAO_Tagged_Profile::object_key () const
38 return const_cast<TAO_Tagged_Profile *> (this)->object_key ();
41 ACE_INLINE const IOP::TaggedProfile &
42 TAO_Tagged_Profile::tagged_profile () const
44 return this->profile_;
47 ACE_INLINE CORBA::ULong
48 TAO_Tagged_Profile::profile_index () const
50 return this->profile_index_;
53 ACE_INLINE const char*
54 TAO_Tagged_Profile::type_id () const
56 return this->type_id_ == 0 ? "" : this->type_id_;
59 ACE_INLINE CORBA::Short
60 TAO_Tagged_Profile::discriminator () const
62 return this->discriminator_;
65 TAO_END_VERSIONED_NAMESPACE_DECL