1 //////////////////////////////////////////////////////////////////////
4 #include "NamingViewer.h"
5 #include "NamingObject.h"
9 static char THIS_FILE
[]=__FILE__
;
13 //////////////////////////////////////////////////////////////////////
14 // Construction/Destruction
15 //////////////////////////////////////////////////////////////////////
17 CNamingObject::CNamingObject(CosNaming::Name
&Name
,
18 CORBA::Object_ptr pObject
,
21 m_Object (CORBA::Object::_duplicate (pObject
)),
26 CNamingObject::~CNamingObject ()
30 CosNaming::NamingContext_ptr
CNamingObject::NamingContext ()
32 return CosNaming::NamingContext::_narrow (m_Object
);
35 CORBA::Object_ptr
CNamingObject::Object ()
40 CosNaming::Name
& CNamingObject::Name ()