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

CORBA_Environment_var Class Reference

CORBA_Environment_var. More...

#include <Environment.h>

Collaboration diagram for CORBA_Environment_var:

Collaboration graph
[legend]
List of all members.

Public Methods

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

 operator CORBA_Environment_ptr & ()
CORBA_Environment_ptr in (void) const
CORBA_Environment_ptrinout (void)
CORBA_Environment_ptrout (void)
CORBA_Environment_ptr _retn (void)
CORBA_Environment_ptr ptr (void) const

Private Attributes

CORBA_Environment_ptr ptr_

Detailed Description

CORBA_Environment_var.

Provide for automatic storage deallocation on going out of scope.

Definition at line 148 of file Environment.h.


Constructor & Destructor Documentation

ACE_INLINE CORBA_Environment_var::CORBA_Environment_var void   
 

default constructor copy constructor destructor

Definition at line 41 of file Environment.i.

00042   : ptr_ (0)
00043 {}

ACE_INLINE CORBA_Environment_var::CORBA_Environment_var CORBA_Environment_ptr   
 

Definition at line 46 of file Environment.i.

00047   : ptr_ (p)
00048 {}

ACE_INLINE CORBA_Environment_var::CORBA_Environment_var const CORBA_Environment_var &   
 

Definition at line 57 of file Environment.i.

00058   : ptr_ (new CORBA_Environment (*p.ptr ()))
00059 {}

ACE_INLINE CORBA_Environment_var::~CORBA_Environment_var void   
 

Definition at line 62 of file Environment.i.

References ptr_.

00063 {
00064   delete this->ptr_;
00065 }


Member Function Documentation

ACE_INLINE CORBA_Environment_ptr CORBA_Environment_var::_retn void   
 

Definition at line 106 of file Environment.i.

References ptr_.

00107 {
00108   // yield ownership of managed obj reference
00109   CORBA_Environment_ptr val = this->ptr_;
00110   this->ptr_ = 0;
00111   return val;
00112 }

ACE_INLINE CORBA_Environment_ptr CORBA_Environment_var::in void    const
 

Definition at line 86 of file Environment.i.

References ptr_.

00087 {
00088   return this->ptr_;
00089 }

ACE_INLINE CORBA_Environment_ptr & CORBA_Environment_var::inout void   
 

Definition at line 92 of file Environment.i.

References ptr_.

00093 {
00094   return this->ptr_;
00095 }

ACE_INLINE CORBA_Environment_var::operator const CORBA_Environment_ptr &   const
 

in, inout, out, _retn.

Definition at line 68 of file Environment.i.

References ptr_.

00069 {
00070   return this->ptr_;
00071 }

ACE_INLINE CORBA_Environment_var::operator CORBA_Environment_ptr &  
 

Definition at line 74 of file Environment.i.

References ptr_.

00075 {
00076   return this->ptr_;
00077 }

ACE_INLINE CORBA_Environment_ptr CORBA_Environment_var::operator-> void    const
 

Definition at line 80 of file Environment.i.

References ptr_.

00081 {
00082   return this->ptr_;
00083 }

CORBA_Environment_var & CORBA_Environment_var::operator= const CORBA_Environment_var &   
 

Definition at line 219 of file Environment.cpp.

References ptr_.

00220 {
00221   CORBA_Environment_var tmp (r);
00222   // @@ We need as ACE_Swap<> template!!
00223   CORBA_Environment *tmp_ptr = this->ptr_;
00224   this->ptr_ = tmp.ptr_;
00225   tmp.ptr_ = tmp_ptr;
00226   return *this;
00227 }

CORBA_Environment_var & CORBA_Environment_var::operator= CORBA_Environment_ptr   
 

Definition at line 208 of file Environment.cpp.

References ptr_.

00209 {
00210   CORBA_Environment_var tmp (p);
00211   // @@ We need as ACE_Swap<> template!!
00212   CORBA_Environment *tmp_ptr = this->ptr_;
00213   this->ptr_ = tmp.ptr_;
00214   tmp.ptr_ = tmp_ptr;
00215   return *this;
00216 }

ACE_INLINE CORBA_Environment_ptr & CORBA_Environment_var::out void   
 

Definition at line 98 of file Environment.i.

References ptr_.

00099 {
00100   delete this->ptr_;
00101   this->ptr_ = 0;
00102   return this->ptr_;
00103 }

ACE_INLINE CORBA_Environment_ptr CORBA_Environment_var::ptr void    const
 

Definition at line 51 of file Environment.i.

References ptr_.

00052 {
00053   return this->ptr_;
00054 }


Member Data Documentation

CORBA_Environment_ptr CORBA_Environment_var::ptr_ [private]
 

Definition at line 175 of file Environment.h.

Referenced by _retn, in, inout, operator const CORBA_Environment_ptr &, operator CORBA_Environment_ptr &, operator->, operator=, out, ptr, and ~CORBA_Environment_var.


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