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

CORBA_NamedValue_var Class Reference

The T_var class for NamedValue. More...

#include <NVList.h>

Collaboration diagram for CORBA_NamedValue_var:

Collaboration graph
[legend]
List of all members.

Public Methods

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

 operator CORBA_NamedValue_ptr & ()
CORBA_NamedValue_ptr in (void) const
CORBA_NamedValue_ptrinout (void)
CORBA_NamedValue_ptrout (void)
CORBA_NamedValue_ptr _retn (void)
CORBA_NamedValue_ptr ptr (void) const

Private Attributes

CORBA_NamedValue_ptr ptr_

Detailed Description

The T_var class for NamedValue.

As any other pseudo object NamedValue must have a T_var class, the interface an semantics are specified in the CORBA spec. = NOTE We use CORBA_NamedValue_ptr as the _ptr type instead of CORBA::NamedValue_ptr, this is an attempt to reduced the cyclic dependencies in TAO.

Definition at line 107 of file NVList.h.


Constructor & Destructor Documentation

ACE_INLINE CORBA_NamedValue_var::CORBA_NamedValue_var void   
 

Definition at line 79 of file NVList.i.

00080   : ptr_ (CORBA_NamedValue::_nil ())
00081 {
00082 }

ACE_INLINE CORBA_NamedValue_var::CORBA_NamedValue_var CORBA_NamedValue_ptr   
 

Definition at line 85 of file NVList.i.

00086   : ptr_ (p)
00087 {}

ACE_INLINE CORBA_NamedValue_var::CORBA_NamedValue_var const CORBA_NamedValue_var &   
 

Definition at line 102 of file NVList.i.

00103   : ptr_ (CORBA_NamedValue::_duplicate (p.ptr ()))
00104 {}

ACE_INLINE CORBA_NamedValue_var::~CORBA_NamedValue_var void   
 

Definition at line 90 of file NVList.i.

References CORBA::release.

00091 {
00092   CORBA::release (this->ptr_);
00093 }


Member Function Documentation

ACE_INLINE CORBA_NamedValue_ptr CORBA_NamedValue_var::_retn void   
 

Definition at line 164 of file NVList.i.

References CORBA_NamedValue::_nil, and ptr_.

00165 {
00166   // yield ownership
00167   CORBA_NamedValue_ptr val = this->ptr_;
00168   this->ptr_ = CORBA_NamedValue::_nil ();
00169   return val;
00170 }

ACE_INLINE CORBA_NamedValue_ptr CORBA_NamedValue_var::in void    const
 

Definition at line 144 of file NVList.i.

References ptr_.

00145 {
00146   return this->ptr_;
00147 }

ACE_INLINE CORBA_NamedValue_ptr & CORBA_NamedValue_var::inout void   
 

Definition at line 150 of file NVList.i.

References ptr_.

00151 {
00152   return this->ptr_;
00153 }

ACE_INLINE CORBA_NamedValue_var::operator const CORBA_NamedValue_ptr &   const
 

in, inout, out, _retn.

Definition at line 126 of file NVList.i.

References ptr_.

00127 {
00128   return this->ptr_;
00129 }

ACE_INLINE CORBA_NamedValue_var::operator CORBA_NamedValue_ptr &  
 

Definition at line 132 of file NVList.i.

References ptr_.

00133 {
00134   return this->ptr_;
00135 }

ACE_INLINE CORBA_NamedValue_ptr CORBA_NamedValue_var::operator-> void    const
 

Definition at line 138 of file NVList.i.

References ptr_.

00139 {
00140   return this->ptr_;
00141 }

ACE_INLINE CORBA_NamedValue_var & CORBA_NamedValue_var::operator= const CORBA_NamedValue_var &   
 

Definition at line 115 of file NVList.i.

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

00116 {
00117   if (this != &p)
00118   {
00119     CORBA::release (this->ptr_);
00120     this->ptr_ = CORBA_NamedValue::_duplicate (p.ptr ());
00121   }
00122   return *this;
00123 }

ACE_INLINE CORBA_NamedValue_var & CORBA_NamedValue_var::operator= CORBA_NamedValue_ptr   
 

Definition at line 107 of file NVList.i.

References ptr_, and CORBA::release.

00108 {
00109   CORBA::release (this->ptr_);
00110   this->ptr_ = p;
00111   return *this;
00112 }

ACE_INLINE CORBA_NamedValue_ptr & CORBA_NamedValue_var::out void   
 

Definition at line 156 of file NVList.i.

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

00157 {
00158   CORBA::release (this->ptr_);
00159   this->ptr_ = CORBA_NamedValue::_nil ();
00160   return this->ptr_;
00161 }

ACE_INLINE CORBA_NamedValue_ptr CORBA_NamedValue_var::ptr void    const
 

Definition at line 96 of file NVList.i.

References ptr_.

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

00097 {
00098   return this->ptr_;
00099 }


Member Data Documentation

CORBA_NamedValue_ptr CORBA_NamedValue_var::ptr_ [private]
 

Definition at line 129 of file NVList.h.

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


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