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

CORBA_NVList_var Class Reference

The T_var class for NVList. More...

#include <NVList.h>

Collaboration diagram for CORBA_NVList_var:

Collaboration graph
[legend]
List of all members.

Public Methods

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

 operator CORBA_NVList_ptr & ()
CORBA_NVList_ptr in (void) const
CORBA_NVList_ptrinout (void)
CORBA_NVList_ptrout (void)
CORBA_NVList_ptr _retn (void)
CORBA_NVList_ptr ptr (void) const

Private Attributes

CORBA_NVList_ptr ptr_

Detailed Description

The T_var class for NVList.

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

Definition at line 330 of file NVList.h.


Constructor & Destructor Documentation

ACE_INLINE CORBA_NVList_var::CORBA_NVList_var void   
 

Definition at line 277 of file NVList.i.

00278   : ptr_ (CORBA_NVList::_nil ())
00279 {
00280 }

ACE_INLINE CORBA_NVList_var::CORBA_NVList_var CORBA_NVList_ptr   
 

Definition at line 283 of file NVList.i.

00284   : ptr_ (p)
00285 {}

ACE_INLINE CORBA_NVList_var::CORBA_NVList_var const CORBA_NVList_var &   
 

Definition at line 300 of file NVList.i.

00301   : ptr_ (CORBA_NVList::_duplicate (p.ptr ()))
00302 {}

ACE_INLINE CORBA_NVList_var::~CORBA_NVList_var void   
 

Definition at line 288 of file NVList.i.

References CORBA::release.

00289 {
00290   CORBA::release (this->ptr_);
00291 }


Member Function Documentation

ACE_INLINE CORBA_NVList_ptr CORBA_NVList_var::_retn void   
 

Definition at line 362 of file NVList.i.

References CORBA_NVList::_nil, and ptr_.

00363 {
00364   // yield ownership
00365   CORBA_NVList_ptr val = this->ptr_;
00366   this->ptr_ = CORBA_NVList::_nil ();
00367   return val;
00368 }

ACE_INLINE CORBA_NVList_ptr CORBA_NVList_var::in void    const
 

Definition at line 342 of file NVList.i.

References ptr_.

00343 {
00344   return this->ptr_;
00345 }

ACE_INLINE CORBA_NVList_ptr & CORBA_NVList_var::inout void   
 

Definition at line 348 of file NVList.i.

References ptr_.

00349 {
00350   return this->ptr_;
00351 }

ACE_INLINE CORBA_NVList_var::operator const CORBA_NVList_ptr &   const
 

in, inout, out, _retn.

Definition at line 324 of file NVList.i.

References ptr_.

00325 {
00326   return this->ptr_;
00327 }

ACE_INLINE CORBA_NVList_var::operator CORBA_NVList_ptr &  
 

Definition at line 330 of file NVList.i.

References ptr_.

00331 {
00332   return this->ptr_;
00333 }

ACE_INLINE CORBA_NVList_ptr CORBA_NVList_var::operator-> void    const
 

Definition at line 336 of file NVList.i.

References ptr_.

00337 {
00338   return this->ptr_;
00339 }

ACE_INLINE CORBA_NVList_var & CORBA_NVList_var::operator= const CORBA_NVList_var &   
 

Definition at line 313 of file NVList.i.

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

00314 {
00315   if (this != &p)
00316   {
00317     CORBA::release (this->ptr_);
00318     this->ptr_ = CORBA_NVList::_duplicate (p.ptr ());
00319   }
00320   return *this;
00321 }

ACE_INLINE CORBA_NVList_var & CORBA_NVList_var::operator= CORBA_NVList_ptr   
 

Definition at line 305 of file NVList.i.

References ptr_, and CORBA::release.

00306 {
00307   CORBA::release (this->ptr_);
00308   this->ptr_ = p;
00309   return *this;
00310 }

ACE_INLINE CORBA_NVList_ptr & CORBA_NVList_var::out void   
 

Definition at line 354 of file NVList.i.

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

00355 {
00356   CORBA::release (this->ptr_);
00357   this->ptr_ = CORBA_NVList::_nil ();
00358   return this->ptr_;
00359 }

ACE_INLINE CORBA_NVList_ptr CORBA_NVList_var::ptr void    const
 

Definition at line 294 of file NVList.i.

References ptr_.

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

00295 {
00296   return this->ptr_;
00297 }


Member Data Documentation

CORBA_NVList_ptr CORBA_NVList_var::ptr_ [private]
 

Definition at line 352 of file NVList.h.

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


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