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

CORBA_ValueBase_var Class Reference

_var class for ValueBase. More...

#include <ValueBase.h>

List of all members.

Public Methods

 CORBA_ValueBase_var (void)
 CORBA_ValueBase_var (CORBA::ValueBase *)
 CORBA_ValueBase_var (const CORBA_ValueBase_var &)
 ~CORBA_ValueBase_var (void)
CORBA_ValueBase_var & operator= (CORBA::ValueBase *)
CORBA_ValueBase_var & operator= (const CORBA_ValueBase_var &)
CORBA::ValueBaseoperator-> (void) const
 operator const CORBA::ValueBase * () const
 operator CORBA::ValueBase *& ()
CORBA::ValueBasein (void) const
 in, inout, out, _retn. More...

CORBA::ValueBase *& inout (void)
CORBA::ValueBase *& out (void)
CORBA::ValueBase_retn (void)
CORBA::ValueBaseptr (void) const

Private Attributes

CORBA::ValueBaseptr_


Detailed Description

_var class for ValueBase.

Definition at line 105 of file ValueBase.h.


Constructor & Destructor Documentation

ACE_INLINE CORBA_ValueBase_var::CORBA_ValueBase_var void   
 

Definition at line 33 of file ValueBase.i.

00034   : ptr_ (0)
00035 {
00036 }

ACE_INLINE CORBA_ValueBase_var::CORBA_ValueBase_var CORBA::ValueBase  
 

Definition at line 39 of file ValueBase.i.

00040   : ptr_ (p)
00041 {
00042 }

ACE_INLINE CORBA_ValueBase_var::CORBA_ValueBase_var const CORBA_ValueBase_var &   
 

Definition at line 57 of file ValueBase.i.

00058   : ptr_ (p.ptr_)
00059 {
00060   p.ptr_->_add_ref ();
00061 }

ACE_INLINE CORBA_ValueBase_var::~CORBA_ValueBase_var void   
 

Definition at line 45 of file ValueBase.i.

References CORBA::remove_ref.

00046 {
00047   CORBA::remove_ref (this->ptr_);
00048 }


Member Function Documentation

ACE_INLINE CORBA::ValueBase * CORBA_ValueBase_var::_retn void   
 

Definition at line 123 of file ValueBase.i.

References ptr_.

00124 {
00125   // Yield ownership of valuebase.
00126   CORBA::ValueBase *val = this->ptr_;
00127   this->ptr_ = 0;
00128   return val;
00129 }

ACE_INLINE CORBA::ValueBase * CORBA_ValueBase_var::in void    const
 

in, inout, out, _retn.

Definition at line 103 of file ValueBase.i.

References ptr_.

00104 {
00105   return this->ptr_;
00106 }

ACE_INLINE CORBA::ValueBase *& CORBA_ValueBase_var::inout void   
 

Definition at line 109 of file ValueBase.i.

References ptr_.

00110 {
00111   return this->ptr_;
00112 }

ACE_INLINE CORBA_ValueBase_var::operator const CORBA::ValueBase *   const
 

Definition at line 85 of file ValueBase.i.

00086 {
00087   return this->ptr_;
00088 }

ACE_INLINE CORBA_ValueBase_var::operator CORBA::ValueBase *&  
 

Definition at line 91 of file ValueBase.i.

00092 {
00093   return this->ptr_;
00094 }

ACE_INLINE CORBA::ValueBase * CORBA_ValueBase_var::operator-> void    const
 

Definition at line 97 of file ValueBase.i.

References ptr_.

00098 {
00099   return this->ptr_;
00100 }

ACE_INLINE CORBA_ValueBase_var & CORBA_ValueBase_var::operator= const CORBA_ValueBase_var &   
 

Definition at line 72 of file ValueBase.i.

References ptr_, and CORBA::remove_ref.

00073 {
00074   if (this != &p)
00075     {
00076       CORBA::remove_ref (this->ptr_);
00077       p.ptr_->_add_ref ();
00078       this->ptr_ = p.ptr_;
00079     }
00080 
00081   return *this;
00082 }

ACE_INLINE CORBA_ValueBase_var & CORBA_ValueBase_var::operator= CORBA::ValueBase  
 

Definition at line 64 of file ValueBase.i.

References ptr_, and CORBA::remove_ref.

00065 {
00066   CORBA::remove_ref (this->ptr_);
00067   this->ptr_ = p;
00068   return *this;
00069 }

ACE_INLINE CORBA::ValueBase *& CORBA_ValueBase_var::out void   
 

Definition at line 115 of file ValueBase.i.

References ptr_, and CORBA::remove_ref.

00116 {
00117   CORBA::remove_ref (this->ptr_);
00118   this->ptr_ = 0;
00119   return this->ptr_;
00120 }

ACE_INLINE CORBA::ValueBase * CORBA_ValueBase_var::ptr void    const
 

Definition at line 51 of file ValueBase.i.

References ptr_.

Referenced by CORBA_ValueBase_out::operator=.

00052 {
00053   return this->ptr_;
00054 }


Member Data Documentation

CORBA::ValueBase* CORBA_ValueBase_var::ptr_ [private]
 

Definition at line 128 of file ValueBase.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 15:02:04 2003 for TAO by doxygen1.2.14 written by Dimitri van Heesch, © 1997-2002