blob: 190daa55590f6e383fb3c7cf536e0d0353aae2fc (
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
|
// -*- C++ -*-
//
// $Id$
TAO_BEGIN_VERSIONED_NAMESPACE_DECL
ACE_INLINE
CORBA::LocalObject_ptr
CORBA::LocalObject::_duplicate (CORBA::LocalObject_ptr obj)
{
if (obj)
{
obj->_add_ref ();
}
return obj;
}
ACE_INLINE
CORBA::LocalObject_ptr
CORBA::LocalObject::_nil (void)
{
return 0;
}
ACE_INLINE
CORBA::LocalObject_ptr
CORBA::LocalObject::_narrow (CORBA::Object_ptr obj)
{
if (obj->_is_local () != 0)
{
return ::CORBA::LocalObject::_duplicate (
dynamic_cast<CORBA::LocalObject_ptr> (obj));
}
return 0;
}
ACE_INLINE
CORBA::LocalObject::LocalObject (void)
: Object (0)
{
}
//FUZZ: disable check_for_TAO_Local_RefCounted_Object
#if !defined (ACE_LACKS_DEPRECATED_MACROS)
ACE_INLINE
TAO_Local_RefCounted_Object::TAO_Local_RefCounted_Object (void)
{
}
#endif
//FUZZ: enable check_for_TAO_Local_RefCounted_Object
TAO_END_VERSIONED_NAMESPACE_DECL
|