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

CORBA_WString_out Class Reference

CORBA_WString_out. More...

#include <CORBA_String.h>

List of all members.

Public Methods

 CORBA_WString_out (CORBA::WChar *&p)
 Construction from a reference to a string. More...

 CORBA_WString_out (CORBA_WString_var &p)
 Construction from a var. More...

 CORBA_WString_out (const CORBA_WString_out &s)
 Copy constructor. More...

CORBA_WString_out & operator= (const CORBA_WString_out &s)
 Assignment from a string_out. More...

CORBA_WString_out & operator= (CORBA::WChar *p)
 Assignment from a string. More...

 operator CORBA::WChar *& ()
 Cast. More...

CORBA::WChar *& ptr (void)
 Return underlying instance. More...


Private Methods

void operator= (const CORBA_WString_var &)

Private Attributes

CORBA::WChar *& ptr_
 Instance. More...


Detailed Description

CORBA_WString_out.

To support the memory management for "out" parameter passing mode. ORBOS/97-05-15, Appendix C.2 defines a CORBA_WString_out class

Definition at line 225 of file CORBA_String.h.


Constructor & Destructor Documentation

ACE_INLINE CORBA_WString_out::CORBA_WString_out CORBA::WChar *&    p
 

Construction from a reference to a string.

Definition at line 214 of file CORBA_String.inl.

References ptr_.

00215   : ptr_ (s)
00216 {
00217   this->ptr_ = 0;
00218 }

ACE_INLINE CORBA_WString_out::CORBA_WString_out CORBA_WString_var   p
 

Construction from a var.

Definition at line 221 of file CORBA_String.inl.

00222   : ptr_ (s.out ())
00223 {
00224 }

ACE_INLINE CORBA_WString_out::CORBA_WString_out const CORBA_WString_out &    s
 

Copy constructor.

Definition at line 227 of file CORBA_String.inl.

00228   : ptr_ (s.ptr_)
00229 {
00230 }


Member Function Documentation

ACE_INLINE CORBA_WString_out::operator CORBA::WChar *&  
 

Cast.

Definition at line 247 of file CORBA_String.inl.

References ptr_.

00248 {
00249   return this->ptr_;
00250 }

void CORBA_WString_out::operator= const CORBA_WString_var   [private]
 

ACE_INLINE CORBA_WString_out & CORBA_WString_out::operator= CORBA::WChar   p
 

Assignment from a string.

Definition at line 240 of file CORBA_String.inl.

References ptr_.

00241 {
00242   this->ptr_ = s;
00243   return *this;
00244 }

ACE_INLINE CORBA_WString_out & CORBA_WString_out::operator= const CORBA_WString_out &    s
 

Assignment from a string_out.

Definition at line 233 of file CORBA_String.inl.

References ptr_.

00234 {
00235   this->ptr_ = s.ptr_;
00236   return *this;
00237 }

ACE_INLINE CORBA::WChar *& CORBA_WString_out::ptr void   
 

Return underlying instance.

Definition at line 253 of file CORBA_String.inl.

References ptr_.

00254 {
00255   return this->ptr_;
00256 }


Member Data Documentation

CORBA::WChar*& CORBA_WString_out::ptr_ [private]
 

Instance.

Definition at line 253 of file CORBA_String.h.

Referenced by CORBA_WString_out, operator CORBA::WChar *&, operator=, and ptr.


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