blob: 32164d5b662bef2fce5af45fe3278c5f1a7217f2 (
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
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
|
// -*- C++ -*-
//
// $Id$
#include "ace/OS_NS_string.h"
TAO_BEGIN_VERSIONED_NAMESPACE_DECL
ACE_INLINE
CORBA::AbstractBase_ptr
CORBA::AbstractBase::_duplicate (CORBA::AbstractBase_ptr obj)
{
if (obj)
{
obj->_add_ref ();
}
return obj;
}
ACE_INLINE
CORBA::AbstractBase_ptr
CORBA::AbstractBase::_nil (void)
{
return static_cast <CORBA::AbstractBase_ptr> (0);
}
ACE_INLINE CORBA::AbstractBase_ptr
CORBA::AbstractBase::_narrow (CORBA::AbstractBase_ptr obj)
{
return CORBA::AbstractBase::_duplicate (obj);
}
ACE_INLINE
CORBA::Boolean
CORBA::AbstractBase::_is_objref (void) const
{
return this->is_objref_;
}
ACE_INLINE
TAO_Stub *
CORBA::AbstractBase::_stubobj (void) const
{
if (this->is_objref_)
{
if (!CORBA::is_nil (this->equivalent_obj_.in ()))
{
return this->equivalent_obj_->_stubobj ();
}
}
return 0;
}
ACE_INLINE
CORBA::Boolean
CORBA::AbstractBase::_is_collocated (void) const
{
return this->is_collocated_;
}
ACE_INLINE
TAO_Abstract_ServantBase *
CORBA::AbstractBase::_servant (void) const
{
return this->servant_;
}
ACE_INLINE
CORBA::Object_ptr
CORBA::AbstractBase::equivalent_objref (void)
{
return this->equivalent_obj_.in ();
}
ACE_INLINE void
CORBA::AbstractBase::_decr_refcount (void)
{
this->_remove_ref ();
}
TAO_END_VERSIONED_NAMESPACE_DECL
|