blob: a975c809e628f202338e3a4ffdf9ac6c0fa814bf (
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
|
// -*- C++ -*-
//
// $Id$
TAO_BEGIN_VERSIONED_NAMESPACE_DECL
ACE_INLINE
TAO_ServantBase_var::TAO_ServantBase_var (void)
: ptr_ (0)
{
}
ACE_INLINE
TAO_ServantBase_var::TAO_ServantBase_var (TAO_ServantBase *p)
: ptr_ (p)
{
}
ACE_INLINE TAO_ServantBase *
TAO_ServantBase_var::operator->() const
{
return this->ptr_;
}
ACE_INLINE TAO_ServantBase *
TAO_ServantBase_var::in (void) const
{
return this->ptr_;
}
ACE_INLINE TAO_ServantBase *&
TAO_ServantBase_var::inout (void)
{
return this->ptr_;
}
// -------------------------------------------------------------------
ACE_INLINE u_long
TAO_Servant_Hash::operator () (PortableServer::Servant servant) const
{
return static_cast<u_long> (reinterpret_cast<ptrdiff_t> (servant));
}
TAO_END_VERSIONED_NAMESPACE_DECL
|