blob: c134318766e7e9ea1ef6478e0e0b8f0106c1bf1b (
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
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
|
// -*- C++ -*-
// $Id$
ACE_INLINE
TAO_Tagged_Profile::TAO_Tagged_Profile (TAO_ORB_Core *orb_core)
: orb_core_ (orb_core),
discriminator_ (0),
object_key_ (),
profile_ (),
profile_index_ (0),
type_id_ ()
{
}
ACE_INLINE TAO::ObjectKey &
TAO_Tagged_Profile::object_key (void)
{
if (this->object_key_extracted_ == 0)
this->object_key_extracted_ = this->extract_object_key (this->profile_);
return this->object_key_;
}
ACE_INLINE void
TAO_Tagged_Profile::object_key (TAO::ObjectKey &object_key)
{
this->object_key_.replace (object_key.length (),
object_key.length (),
object_key.get_buffer ());
this->object_key_extracted_ = 1;
}
ACE_INLINE const TAO::ObjectKey &
TAO_Tagged_Profile::object_key (void) const
{
return ACE_const_cast(TAO_Tagged_Profile *, this)->object_key ();
}
ACE_INLINE const IOP::TaggedProfile &
TAO_Tagged_Profile::tagged_profile (void) const
{
return this->profile_;
}
ACE_INLINE CORBA::ULong
TAO_Tagged_Profile::profile_index (void) const
{
return this->profile_index_;
}
ACE_INLINE const ACE_CString &
TAO_Tagged_Profile::type_id (void) const
{
return this->type_id_;
}
ACE_INLINE CORBA::Short
TAO_Tagged_Profile::discriminator (void) const
{
return this->discriminator_;
}
|