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

CORBA_AbstractBase_var Class Reference

_var class for AbstractBase. More...

#include <AbstractBase.h>

List of all members.

Public Methods

 CORBA_AbstractBase_var (void)
 CORBA_AbstractBase_var (CORBA::AbstractBase_ptr)
 CORBA_AbstractBase_var (const CORBA_AbstractBase_var &)
 ~CORBA_AbstractBase_var (void)
CORBA_AbstractBase_var & operator= (CORBA::AbstractBase_ptr)
CORBA_AbstractBase_var & operator= (const CORBA_AbstractBase_var &)
CORBA::AbstractBase_ptr operator-> (void) const
 operator const CORBA::AbstractBase_ptr & () const
 in, inout, out, _retn. More...

 operator CORBA::AbstractBase_ptr & ()
CORBA::AbstractBase_ptr in (void) const
CORBA::AbstractBase_ptrinout (void)
CORBA::AbstractBase_ptrout (void)
CORBA::AbstractBase_ptr _retn (void)
CORBA::AbstractBase_ptr ptr (void) const

Static Public Methods

CORBA::AbstractBase_ptr tao_duplicate (CORBA::AbstractBase_ptr)
void tao_release (CORBA::AbstractBase_ptr)
CORBA::AbstractBase_ptr tao_nil (void)
CORBA::AbstractBase_ptr tao_narrow (CORBA::AbstractBase *ACE_ENV_ARG_DECL_NOT_USED)
CORBA::AbstractBasetao_upcast (void *)

Private Attributes

CORBA::AbstractBase_ptr ptr_


Detailed Description

_var class for AbstractBase.

Definition at line 111 of file AbstractBase.h.


Constructor & Destructor Documentation

ACE_INLINE CORBA_AbstractBase_var::CORBA_AbstractBase_var void   
 

Definition at line 131 of file AbstractBase.inl.

References CORBA::AbstractBase.

00132   : ptr_ (CORBA::AbstractBase::_nil ())
00133 {
00134 }

ACE_INLINE CORBA_AbstractBase_var::CORBA_AbstractBase_var CORBA::AbstractBase_ptr   
 

Definition at line 137 of file AbstractBase.inl.

00138   : ptr_ (p)
00139 {
00140 }

ACE_INLINE CORBA_AbstractBase_var::CORBA_AbstractBase_var const CORBA_AbstractBase_var &   
 

Definition at line 155 of file AbstractBase.inl.

00156   : ptr_ (CORBA_AbstractBase::_duplicate (p.ptr ()))
00157 {
00158 }

ACE_INLINE CORBA_AbstractBase_var::~CORBA_AbstractBase_var void   
 

Definition at line 143 of file AbstractBase.inl.

References CORBA::release.

00144 {
00145   CORBA::release (this->ptr_);
00146 }


Member Function Documentation

ACE_INLINE CORBA::AbstractBase_ptr CORBA_AbstractBase_var::_retn void   
 

Definition at line 219 of file AbstractBase.inl.

References CORBA_AbstractBase::_nil, and ptr_.

00220 {
00221   // Yield ownership of valuebase.
00222   CORBA::AbstractBase_ptr val = this->ptr_;
00223   this->ptr_ = CORBA_AbstractBase::_nil ();
00224   return val;
00225 }

ACE_INLINE CORBA::AbstractBase_ptr CORBA_AbstractBase_var::in void    const
 

Definition at line 199 of file AbstractBase.inl.

References ptr_.

00200 {
00201   return this->ptr_;
00202 }

ACE_INLINE CORBA::AbstractBase_ptr & CORBA_AbstractBase_var::inout void   
 

Definition at line 205 of file AbstractBase.inl.

References ptr_.

00206 {
00207   return this->ptr_;
00208 }

ACE_INLINE CORBA_AbstractBase_var::operator const CORBA::AbstractBase_ptr &   const
 

in, inout, out, _retn.

Definition at line 181 of file AbstractBase.inl.

00182 {
00183   return this->ptr_;
00184 }

ACE_INLINE CORBA_AbstractBase_var::operator CORBA::AbstractBase_ptr &  
 

Definition at line 187 of file AbstractBase.inl.

00188 {
00189   return this->ptr_;
00190 }

ACE_INLINE CORBA::AbstractBase_ptr CORBA_AbstractBase_var::operator-> void    const
 

Definition at line 193 of file AbstractBase.inl.

References ptr_.

00194 {
00195   return this->ptr_;
00196 }

ACE_INLINE CORBA_AbstractBase_var & CORBA_AbstractBase_var::operator= const CORBA_AbstractBase_var &   
 

Definition at line 169 of file AbstractBase.inl.

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

00170 {
00171   if (this != &p)
00172     {
00173       CORBA::release (this->ptr_);
00174       this->ptr_ = CORBA_AbstractBase::_duplicate (p.ptr ());
00175     }
00176 
00177   return *this;
00178 }

ACE_INLINE CORBA_AbstractBase_var & CORBA_AbstractBase_var::operator= CORBA::AbstractBase_ptr   
 

Definition at line 161 of file AbstractBase.inl.

References ptr_, and CORBA::release.

00162 {
00163   CORBA::release (this->ptr_);
00164   this->ptr_ = p;
00165   return *this;
00166 }

ACE_INLINE CORBA::AbstractBase_ptr & CORBA_AbstractBase_var::out void   
 

Definition at line 211 of file AbstractBase.inl.

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

00212 {
00213   CORBA::release (this->ptr_);
00214   this->ptr_ = CORBA_AbstractBase::_nil ();
00215   return this->ptr_;
00216 }

ACE_INLINE CORBA::AbstractBase_ptr CORBA_AbstractBase_var::ptr void    const
 

Definition at line 149 of file AbstractBase.inl.

References ptr_.

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

00150 {
00151   return this->ptr_;
00152 }

ACE_INLINE CORBA::AbstractBase_ptr CORBA_AbstractBase_var::tao_duplicate CORBA::AbstractBase_ptr    [static]
 

Definition at line 228 of file AbstractBase.inl.

References CORBA_AbstractBase::_duplicate.

00229 {
00230   return CORBA_AbstractBase::_duplicate (p);
00231 }

CORBA::AbstractBase_ptr CORBA_AbstractBase_var::tao_narrow CORBA::AbstractBase   ACE_ENV_ARG_DECL_NOT_USED [static]
 

ACE_INLINE CORBA::AbstractBase_ptr CORBA_AbstractBase_var::tao_nil void    [static]
 

Definition at line 240 of file AbstractBase.inl.

References CORBA_AbstractBase::_nil.

00241 {
00242   return CORBA_AbstractBase::_nil ();
00243 }

ACE_INLINE void CORBA_AbstractBase_var::tao_release CORBA::AbstractBase_ptr    [static]
 

Definition at line 234 of file AbstractBase.inl.

References CORBA::release.

00235 {
00236   CORBA::release (p);
00237 }

ACE_INLINE CORBA::AbstractBase * CORBA_AbstractBase_var::tao_upcast void *    [static]
 

Definition at line 255 of file AbstractBase.inl.

00256 {
00257   CORBA_AbstractBase **tmp =
00258     ACE_static_cast (CORBA_AbstractBase **, src);
00259   return *tmp;
00260 }


Member Data Documentation

CORBA::AbstractBase_ptr CORBA_AbstractBase_var::ptr_ [private]
 

Definition at line 140 of file AbstractBase.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:56:09 2003 for TAO by doxygen1.2.14 written by Dimitri van Heesch, © 1997-2002