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

CORBA_ValueFactoryBase_var Class Reference

_var class for ValueFactoryBase. More...

#include <ValueFactory.h>

List of all members.

Public Methods

 CORBA_ValueFactoryBase_var (void)
 CORBA_ValueFactoryBase_var (CORBA::ValueFactoryBase *)
 CORBA_ValueFactoryBase_var (const CORBA_ValueFactoryBase_var &)
 ~CORBA_ValueFactoryBase_var (void)
CORBA_ValueFactoryBase_var & operator= (CORBA::ValueFactoryBase *)
CORBA_ValueFactoryBase_var & operator= (const CORBA_ValueFactoryBase_var &)
CORBA::ValueFactoryBaseoperator-> (void) const
CORBA::ValueFactoryBasein (void) const
 in, inout, out, _retn. More...

CORBA::ValueFactoryBase *& inout (void)
CORBA::ValueFactoryBase *& out (void)
CORBA::ValueFactoryBase_retn (void)
CORBA::ValueFactoryBaseptr (void) const

Private Attributes

CORBA::ValueFactoryBaseptr_


Detailed Description

_var class for ValueFactoryBase.

Definition at line 55 of file ValueFactory.h.


Constructor & Destructor Documentation

ACE_INLINE CORBA_ValueFactoryBase_var::CORBA_ValueFactoryBase_var void   
 

Definition at line 33 of file ValueFactory.i.

00034   : ptr_ (0)
00035 {
00036 }

ACE_INLINE CORBA_ValueFactoryBase_var::CORBA_ValueFactoryBase_var CORBA::ValueFactoryBase  
 

Definition at line 39 of file ValueFactory.i.

00042   : ptr_ (p)
00043 {
00044 }

ACE_INLINE CORBA_ValueFactoryBase_var::CORBA_ValueFactoryBase_var const CORBA_ValueFactoryBase_var &   
 

Definition at line 62 of file ValueFactory.i.

00065   : ptr_ (p.ptr_)
00066 {
00067   p.ptr_->_add_ref ();
00068 }

ACE_INLINE CORBA_ValueFactoryBase_var::~CORBA_ValueFactoryBase_var void   
 

Definition at line 47 of file ValueFactory.i.

References ptr_.

00048 {
00049   if (this->ptr_ != 0)
00050     {
00051       this->ptr_->_remove_ref ();
00052     }
00053 }


Member Function Documentation

ACE_INLINE CORBA::ValueFactoryBase * CORBA_ValueFactoryBase_var::_retn void   
 

Definition at line 130 of file ValueFactory.i.

References ptr_.

00131 {
00132   // Yield ownership of valuebase.
00133   CORBA::ValueFactoryBase *val = this->ptr_;
00134   this->ptr_ = 0;
00135   return val;
00136 }

ACE_INLINE CORBA::ValueFactoryBase * CORBA_ValueFactoryBase_var::in void    const
 

in, inout, out, _retn.

Definition at line 106 of file ValueFactory.i.

References ptr_.

00107 {
00108   return this->ptr_;
00109 }

ACE_INLINE CORBA::ValueFactoryBase *& CORBA_ValueFactoryBase_var::inout void   
 

Definition at line 112 of file ValueFactory.i.

References ptr_.

00113 {
00114   return this->ptr_;
00115 }

ACE_INLINE CORBA::ValueFactoryBase * CORBA_ValueFactoryBase_var::operator-> void    const
 

Definition at line 100 of file ValueFactory.i.

References ptr_.

00101 {
00102   return this->ptr_;
00103 }

ACE_INLINE CORBA_ValueFactoryBase_var & CORBA_ValueFactoryBase_var::operator= const CORBA_ValueFactoryBase_var &   
 

Definition at line 83 of file ValueFactory.i.

References ptr_.

00084 {
00085   if (this != &p)
00086     {
00087       if (this->ptr_ != 0)
00088         {
00089           this->ptr_->_remove_ref ();
00090         }
00091 
00092       p.ptr_->_add_ref ();
00093       this->ptr_ = p.ptr_;
00094     }
00095 
00096   return *this;
00097 }

ACE_INLINE CORBA_ValueFactoryBase_var & CORBA_ValueFactoryBase_var::operator= CORBA::ValueFactoryBase  
 

Definition at line 71 of file ValueFactory.i.

References ptr_.

00072 {
00073   if (this->ptr_ != 0)
00074     {
00075       this->ptr_->_remove_ref ();
00076     }
00077 
00078   this->ptr_ = p;
00079   return *this;
00080 }

ACE_INLINE CORBA::ValueFactoryBase *& CORBA_ValueFactoryBase_var::out void   
 

Definition at line 118 of file ValueFactory.i.

References ptr_.

00119 {
00120   if (this->ptr_ != 0)
00121     {
00122       this->ptr_->_remove_ref ();
00123     }
00124 
00125   this->ptr_ = 0;
00126   return this->ptr_;
00127 }

ACE_INLINE CORBA::ValueFactoryBase * CORBA_ValueFactoryBase_var::ptr void    const
 

Definition at line 56 of file ValueFactory.i.

References ptr_.

00057 {
00058   return this->ptr_;
00059 }


Member Data Documentation

CORBA::ValueFactoryBase* CORBA_ValueFactoryBase_var::ptr_ [private]
 

Definition at line 75 of file ValueFactory.h.

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


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