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

CORBA_Principal_out Class Reference

The T_out class for Principal. More...

#include <Principal.h>

Collaboration diagram for CORBA_Principal_out:

Collaboration graph
[legend]
List of all members.

Public Methods

 CORBA_Principal_out (CORBA_Principal_ptr &)
 CORBA_Principal_out (CORBA_Principal_var &)
 CORBA_Principal_out (CORBA_Principal_out &)
CORBA_Principal_out & operator= (CORBA_Principal_out &)
CORBA_Principal_out & operator= (const CORBA_Principal_var &)
CORBA_Principal_out & operator= (CORBA_Principal_ptr)
 operator CORBA_Principal_ptr & ()
CORBA_Principal_ptrptr (void)
CORBA_Principal_ptr operator-> (void)

Private Attributes

CORBA_Principal_ptrptr_

Detailed Description

The T_out class for Principal.

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

Definition at line 135 of file Principal.h.


Constructor & Destructor Documentation

ACE_INLINE CORBA_Principal_out::CORBA_Principal_out CORBA_Principal_ptr  
 

Definition at line 154 of file Principal.i.

References CORBA_Principal::_nil, and ptr_.

00155         : ptr_ (p)
00156 {
00157   this->ptr_ = CORBA_Principal::_nil ();
00158 }

ACE_INLINE CORBA_Principal_out::CORBA_Principal_out CORBA_Principal_var  
 

Definition at line 161 of file Principal.i.

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

00162   : ptr_ (p.out ())
00163 {
00164   CORBA::release (this->ptr_);
00165   this->ptr_ = CORBA_Principal::_nil ();
00166 }

ACE_INLINE CORBA_Principal_out::CORBA_Principal_out CORBA_Principal_out &   
 

Definition at line 169 of file Principal.i.

00170   : ptr_ (p.ptr_)
00171 {}


Member Function Documentation

ACE_INLINE CORBA_Principal_out::operator CORBA_Principal_ptr &  
 

Definition at line 195 of file Principal.i.

References ptr_.

00196 {
00197   return this->ptr_;
00198 }

ACE_INLINE CORBA_Principal_ptr CORBA_Principal_out::operator-> void   
 

Definition at line 207 of file Principal.i.

References ptr_.

00208 {
00209   return this->ptr_;
00210 }

ACE_INLINE CORBA_Principal_out & CORBA_Principal_out::operator= CORBA_Principal_ptr   
 

Definition at line 188 of file Principal.i.

References ptr_.

00189 {
00190   this->ptr_ = p;
00191   return *this;
00192 }

ACE_INLINE CORBA_Principal_out & CORBA_Principal_out::operator= const CORBA_Principal_var  
 

Definition at line 181 of file Principal.i.

References CORBA_Principal::_duplicate, CORBA_Principal_var::ptr, and ptr_.

00182 {
00183   this->ptr_ = CORBA_Principal::_duplicate (p.ptr ());
00184   return *this;
00185 }

ACE_INLINE CORBA_Principal_out & CORBA_Principal_out::operator= CORBA_Principal_out &   
 

Definition at line 174 of file Principal.i.

References ptr_.

00175 {
00176   this->ptr_ = p.ptr_;
00177   return *this;
00178 }

ACE_INLINE CORBA_Principal_ptr & CORBA_Principal_out::ptr void   
 

Definition at line 201 of file Principal.i.

References ptr_.

00202 {
00203   return this->ptr_;
00204 }


Member Data Documentation

CORBA_Principal_ptr& CORBA_Principal_out::ptr_ [private]
 

Definition at line 149 of file Principal.h.

Referenced by CORBA_Principal_out, operator CORBA_Principal_ptr &, operator->, operator=, and ptr.


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