~ubuntu-branches/ubuntu/breezy/ace/breezy

« back to all changes in this revision

Viewing changes to TAO/utils/wxNamingViewer/wxNamingObject.cpp

  • Committer: Bazaar Package Importer
  • Author(s): Adam Conrad, Benjamin Montgomery, Adam Conrad
  • Date: 2005-09-18 22:51:38 UTC
  • mfrom: (1.2.1 upstream) (2.1.1 sarge) (0.1.2 woody)
  • Revision ID: james.westby@ubuntu.com-20050918225138-seav22q6fyylb536
Tags: 5.4.7-3ubuntu1
[ Benjamin Montgomery ]
* Added a patch for amd64 and powerpc that disables the compiler
  option -fvisibility-inlines-hidden

[ Adam Conrad ]
* Added DPATCH_OPTION_CPP=1 to debian/patches/00options to make
  Benjamin's above changes work correctly with dpatch.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
// wxNamingObject.cpp,v 1.3 2003/11/21 14:54:42 schmidt Exp
2
 
// wxNamingObject.cpp
3
 
 
4
 
#include "pch.h"
5
 
#include "wxNamingObject.h"
6
 
 
7
 
 
8
 
WxNamingObject::WxNamingObject(
9
 
    CosNaming::Name& Name,
10
 
    CORBA::Object_ptr pObject,
11
 
    bool Context)
12
 
  : m_Object(CORBA::Object::_duplicate(pObject))
13
 
  , m_Name(Name)
14
 
  , m_Context(Context)
15
 
{
16
 
  // Empty
17
 
}
18
 
 
19
 
 
20
 
WxNamingObject::WxNamingObject( CORBA::Object_ptr pObject):
21
 
  m_Object(CORBA::Object::_duplicate(pObject))
22
 
{
23
 
  // Empty
24
 
}
25
 
 
26
 
WxNamingObject::~WxNamingObject()
27
 
{
28
 
  // Empty
29
 
}
30
 
 
31
 
 
32
 
CosNaming::NamingContext_ptr WxNamingObject::NamingContext()
33
 
{
34
 
  return CosNaming::NamingContext::_narrow(m_Object.in());
35
 
}
36
 
 
37
 
 
38
 
CORBA::Object_ptr WxNamingObject::Object()
39
 
{
40
 
  return m_Object.in();
41
 
}
42
 
 
43
 
 
44
 
CosNaming::Name& WxNamingObject::Name()
45
 
{
46
 
  return m_Name;
47
 
}