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

TAO_ObjectKey_var Class Reference

#include <Object_KeyC.h>

Collaboration diagram for TAO_ObjectKey_var:

Collaboration graph
[legend]
List of all members.

Public Methods

 TAO_ObjectKey_var (void)
 TAO_ObjectKey_var (TAO_ObjectKey *)
 TAO_ObjectKey_var (const TAO_ObjectKey_var &)
 ~TAO_ObjectKey_var (void)
TAO_ObjectKey_var & operator= (TAO_ObjectKey *)
TAO_ObjectKey_var & operator= (const TAO_ObjectKey_var &)
TAO_ObjectKeyoperator-> (void)
const TAO_ObjectKeyoperator-> (void) const
 operator const TAO_ObjectKey & () const
 operator TAO_ObjectKey & ()
 operator TAO_ObjectKey & () const
CORBA::Octetoperator[] (CORBA::ULong index)
const TAO_ObjectKeyin (void) const
TAO_ObjectKeyinout (void)
TAO_ObjectKey *& out (void)
TAO_ObjectKey_retn (void)
TAO_ObjectKeyptr (void) const

Private Attributes

TAO_ObjectKeyptr_

Constructor & Destructor Documentation

ACE_INLINE TAO_ObjectKey_var::TAO_ObjectKey_var void   
 

Definition at line 55 of file Object_KeyC.i.

00056         : ptr_ (0)
00057 {}

ACE_INLINE TAO_ObjectKey_var::TAO_ObjectKey_var TAO_ObjectKey  
 

Definition at line 60 of file Object_KeyC.i.

00061         : ptr_ (p)
00062 {}

ACE_INLINE TAO_ObjectKey_var::TAO_ObjectKey_var const TAO_ObjectKey_var &   
 

Definition at line 65 of file Object_KeyC.i.

References ACE_NEW.

00066 {
00067   if (p.ptr_)
00068     ACE_NEW (this->ptr_, 
00069              TAO_ObjectKey(*p.ptr_));
00070   else
00071     this->ptr_ = 0;
00072 }

ACE_INLINE TAO_ObjectKey_var::~TAO_ObjectKey_var void   
 

Definition at line 75 of file Object_KeyC.i.

00076 {
00077   delete this->ptr_;
00078 }


Member Function Documentation

ACE_INLINE TAO_ObjectKey * TAO_ObjectKey_var::_retn void   
 

Definition at line 174 of file Object_KeyC.i.

References ptr_.

00175 {
00176   TAO_ObjectKey *tmp = this->ptr_;
00177   this->ptr_ = 0;
00178   return tmp;
00179 }

ACE_INLINE const TAO_ObjectKey & TAO_ObjectKey_var::in void    const
 

Definition at line 153 of file Object_KeyC.i.

References ptr_.

00154 {
00155   return *this->ptr_;
00156 }

ACE_INLINE TAO_ObjectKey & TAO_ObjectKey_var::inout void   
 

Definition at line 159 of file Object_KeyC.i.

References ptr_.

00160 {
00161   return *this->ptr_;
00162 }

ACE_INLINE TAO_ObjectKey_var::operator const TAO_ObjectKey &   const
 

Definition at line 129 of file Object_KeyC.i.

00130 {
00131   return *this->ptr_;
00132 }

ACE_INLINE TAO_ObjectKey_var::operator TAO_ObjectKey &   const
 

Definition at line 141 of file Object_KeyC.i.

00142 {
00143   return *this->ptr_;
00144 }

ACE_INLINE TAO_ObjectKey_var::operator TAO_ObjectKey &  
 

Definition at line 135 of file Object_KeyC.i.

00136 {
00137   return *this->ptr_;
00138 }

ACE_INLINE const TAO_ObjectKey * TAO_ObjectKey_var::operator-> void    const
 

Definition at line 117 of file Object_KeyC.i.

References ptr_.

00118 {
00119   return this->ptr_;
00120 }

ACE_INLINE TAO_ObjectKey * TAO_ObjectKey_var::operator-> void   
 

Definition at line 123 of file Object_KeyC.i.

References ptr_.

00124 {
00125   return this->ptr_;
00126 }

ACE_INLINE TAO_ObjectKey_var & TAO_ObjectKey_var::operator= const TAO_ObjectKey_var &   
 

Definition at line 89 of file Object_KeyC.i.

00090 {
00091   if (this != &p)
00092     {
00093       if (p.ptr_ == 0)
00094         {
00095           delete this->ptr_;
00096           this->ptr_ = 0;
00097         }
00098       else
00099         {
00100           TAO_ObjectKey *deep_copy = 
00101             new TAO_ObjectKey (*p.ptr_);
00102           
00103           if (deep_copy != 0)
00104             {
00105               TAO_ObjectKey *tmp = deep_copy;
00106               deep_copy = this->ptr_;
00107               this->ptr_ = tmp;
00108               delete deep_copy;
00109             }
00110         }
00111     }
00112   
00113   return *this;
00114 }

ACE_INLINE TAO_ObjectKey_var & TAO_ObjectKey_var::operator= TAO_ObjectKey  
 

Definition at line 81 of file Object_KeyC.i.

References ptr_.

00082 {
00083   delete this->ptr_;
00084   this->ptr_ = p;
00085   return *this;
00086 }

ACE_INLINE CORBA::Octet & TAO_ObjectKey_var::operator[] CORBA::ULong    index
 

Definition at line 147 of file Object_KeyC.i.

References ptr_.

00148 {
00149   return this->ptr_->operator[] (slot);
00150 }

ACE_INLINE TAO_ObjectKey *& TAO_ObjectKey_var::out void   
 

Definition at line 166 of file Object_KeyC.i.

References ptr_.

00167 {
00168   delete this->ptr_;
00169   this->ptr_ = 0;
00170   return this->ptr_;
00171 }

ACE_INLINE TAO_ObjectKey * TAO_ObjectKey_var::ptr void    const
 

Definition at line 182 of file Object_KeyC.i.

References ptr_.

00183 {
00184   return this->ptr_;
00185 }


Member Data Documentation

TAO_ObjectKey* TAO_ObjectKey_var::ptr_ [private]
 

Definition at line 80 of file Object_KeyC.h.

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


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