Merge pull request #2301 from sonndinh/remove-dup-reactor-functions
[ACE_TAO.git] / TAO / utils / wxNamingViewer / wxNamingObject.cpp
blob467e116918827c7ef22b98c0aab9bfc9b15fb230
1 // wxNamingObject.cpp
3 #include "pch.h"
4 #include "wxNamingObject.h"
7 WxNamingObject::WxNamingObject(
8 CosNaming::Name& Name,
9 CORBA::Object_ptr pObject,
10 bool Context)
11 : m_Object(CORBA::Object::_duplicate(pObject))
12 , m_Name(Name)
13 , m_Context(Context)
15 // Empty
19 WxNamingObject::WxNamingObject( CORBA::Object_ptr pObject):
20 m_Object(CORBA::Object::_duplicate(pObject))
22 // Empty
25 WxNamingObject::~WxNamingObject()
27 // Empty
31 CosNaming::NamingContext_ptr WxNamingObject::NamingContext()
33 return CosNaming::NamingContext::_narrow(m_Object.in());
37 CORBA::Object_ptr WxNamingObject::Object()
39 return m_Object.in();
43 CosNaming::Name& WxNamingObject::Name()
45 return m_Name;