Main Page   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Namespace Members   Compound Members   File Members   Related Pages  

CORBA_LocalObject_var Class Reference

#include <LocalObject.h>

Collaboration diagram for CORBA_LocalObject_var:

Collaboration graph
[legend]
List of all members.

Public Methods

 CORBA_LocalObject_var (void)
 CORBA_LocalObject_var (CORBA_LocalObject_ptr)
 CORBA_LocalObject_var (const CORBA_LocalObject_var &)
 ~CORBA_LocalObject_var (void)
CORBA_LocalObject_var & operator= (CORBA_LocalObject_ptr)
CORBA_LocalObject_var & operator= (const CORBA_LocalObject_var &)
CORBA_LocalObject_ptr operator-> (void) const
 operator const CORBA_LocalObject_ptr & () const
 in, inout, out, _retn. More...

 operator CORBA_LocalObject_ptr & ()
CORBA_LocalObject_ptr in (void) const
CORBA_LocalObject_ptrinout (void)
CORBA_LocalObject_ptrout (void)
CORBA_LocalObject_ptr _retn (void)
CORBA_LocalObject_ptr ptr (void) const

Private Attributes

CORBA_LocalObject_ptr ptr_

Constructor & Destructor Documentation

ACE_INLINE CORBA_LocalObject_var::CORBA_LocalObject_var void   
 

Definition at line 71 of file LocalObject.i.

00072   : ptr_ (CORBA_LocalObject::_nil ())
00073 {
00074 }

ACE_INLINE CORBA_LocalObject_var::CORBA_LocalObject_var CORBA_LocalObject_ptr   
 

Definition at line 77 of file LocalObject.i.

00078   : ptr_ (p)
00079 {}

ACE_INLINE CORBA_LocalObject_var::CORBA_LocalObject_var const CORBA_LocalObject_var &   
 

Definition at line 94 of file LocalObject.i.

00095   : ptr_ (CORBA_LocalObject::_duplicate (p.ptr ()))
00096 {
00097 }

ACE_INLINE CORBA_LocalObject_var::~CORBA_LocalObject_var void   
 

Definition at line 82 of file LocalObject.i.

References CORBA::release.

00083 {
00084   CORBA::release (this->ptr_);
00085 }


Member Function Documentation

ACE_INLINE CORBA_LocalObject_ptr CORBA_LocalObject_var::_retn void   
 

Definition at line 158 of file LocalObject.i.

References CORBA_LocalObject::_nil, and ptr_.

00159 {
00160   // yield ownership of managed obj reference
00161   CORBA_LocalObject_ptr val = this->ptr_;
00162   this->ptr_ = CORBA_LocalObject::_nil ();
00163   return val;
00164 }

ACE_INLINE CORBA_LocalObject_ptr CORBA_LocalObject_var::in void    const
 

Definition at line 138 of file LocalObject.i.

References ptr_.

00139 {
00140   return this->ptr_;
00141 }

ACE_INLINE CORBA_LocalObject_ptr & CORBA_LocalObject_var::inout void   
 

Definition at line 144 of file LocalObject.i.

References ptr_.

00145 {
00146   return this->ptr_;
00147 }

ACE_INLINE CORBA_LocalObject_var::operator const CORBA_LocalObject_ptr &   const
 

in, inout, out, _retn.

Definition at line 120 of file LocalObject.i.

00121 {
00122   return this->ptr_;
00123 }

ACE_INLINE CORBA_LocalObject_var::operator CORBA_LocalObject_ptr &  
 

Definition at line 126 of file LocalObject.i.

00127 {
00128   return this->ptr_;
00129 }

ACE_INLINE CORBA_LocalObject_ptr CORBA_LocalObject_var::operator-> void    const
 

Definition at line 132 of file LocalObject.i.

References ptr_.

00133 {
00134   return this->ptr_;
00135 }

ACE_INLINE CORBA_LocalObject_var & CORBA_LocalObject_var::operator= const CORBA_LocalObject_var &   
 

Definition at line 108 of file LocalObject.i.

References CORBA_LocalObject::_duplicate, ptr, ptr_, and CORBA::release.

00109 {
00110   if (this != &p)
00111     {
00112       CORBA::release (this->ptr_);
00113       this->ptr_ = CORBA_LocalObject::_duplicate (p.ptr ());
00114     }
00115 
00116   return *this;
00117 }

ACE_INLINE CORBA_LocalObject_var & CORBA_LocalObject_var::operator= CORBA_LocalObject_ptr   
 

Definition at line 100 of file LocalObject.i.

References ptr_, and CORBA::release.

00101 {
00102   CORBA::release (this->ptr_);
00103   this->ptr_ = p;
00104   return *this;
00105 }

ACE_INLINE CORBA_LocalObject_ptr & CORBA_LocalObject_var::out void   
 

Definition at line 150 of file LocalObject.i.

References CORBA_LocalObject::_nil, ptr_, and CORBA::release.

00151 {
00152   CORBA::release (this->ptr_);
00153   this->ptr_ = CORBA_LocalObject::_nil ();
00154   return this->ptr_;
00155 }

ACE_INLINE CORBA_LocalObject_ptr CORBA_LocalObject_var::ptr void    const
 

Definition at line 88 of file LocalObject.i.

References ptr_.

Referenced by CORBA_LocalObject_out::operator=, and operator=.

00089 {
00090   return this->ptr_;
00091 }


Member Data Documentation

CORBA_LocalObject_ptr CORBA_LocalObject_var::ptr_ [private]
 

Definition at line 220 of file LocalObject.h.

Referenced by _retn, in, inout, operator->, operator=, out, and ptr.


The documentation for this class was generated from the following files:
Generated on Mon Jun 16 14:58:58 2003 for TAO by doxygen1.2.14 written by Dimitri van Heesch, © 1997-2002