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

CORBA_String_out Class Reference

CORBA_String_out. More...

#include <CORBA_String.h>

List of all members.

Public Methods

 CORBA_String_out (char *&p)
 Construction from a reference to a string. More...

 CORBA_String_out (CORBA_String_var &p)
 Construction from a var. More...

 CORBA_String_out (TAO_String_Manager &p)
 Construction from a var. More...

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

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

CORBA_String_out & operator= (char *p)
 Assignment from a string. More...

CORBA_String_out & operator= (const char *p)
 Assignment from a constant char*. More...

 operator char *& ()
 Cast. More...

char *& ptr (void)
 Return underlying instance. More...


Private Methods

void operator= (const CORBA_String_var &)

Private Attributes

char *& ptr_
 Instance. More...


Detailed Description

CORBA_String_out.

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

Definition at line 109 of file CORBA_String.h.


Constructor & Destructor Documentation

ACE_INLINE CORBA_String_out::CORBA_String_out char *&    p
 

Construction from a reference to a string.

Definition at line 80 of file CORBA_String.inl.

References ptr_.

00081   : ptr_ (s)
00082 {
00083   this->ptr_ = 0;
00084 }

ACE_INLINE CORBA_String_out::CORBA_String_out CORBA_String_var   p
 

Construction from a var.

Definition at line 87 of file CORBA_String.inl.

00088   : ptr_ (s.out ())
00089 {
00090 }

ACE_INLINE CORBA_String_out::CORBA_String_out TAO_String_Manager   p
 

Construction from a var.

Definition at line 93 of file CORBA_String.inl.

00094   : ptr_ (s.out ())
00095 {
00096 }

ACE_INLINE CORBA_String_out::CORBA_String_out const CORBA_String_out &    s
 

Copy constructor.

Definition at line 99 of file CORBA_String.inl.

00100   : ptr_ (s.ptr_)
00101 {
00102 }


Member Function Documentation

ACE_INLINE CORBA_String_out::operator char *&  
 

Cast.

Definition at line 126 of file CORBA_String.inl.

References ptr_.

00127 {
00128   return this->ptr_;
00129 }

void CORBA_String_out::operator= const CORBA_String_var   [private]
 

ACE_INLINE CORBA_String_out & CORBA_String_out::operator= const char *    p
 

Assignment from a constant char*.

Definition at line 119 of file CORBA_String.inl.

References ptr_, and CORBA::string_dup.

00120 {
00121   this->ptr_ = CORBA::string_dup (s);
00122   return *this;
00123 }

ACE_INLINE CORBA_String_out & CORBA_String_out::operator= char *    p
 

Assignment from a string.

Definition at line 112 of file CORBA_String.inl.

References ptr_.

00113 {
00114   this->ptr_ = s;
00115   return *this;
00116 }

ACE_INLINE CORBA_String_out & CORBA_String_out::operator= const CORBA_String_out &    s
 

Assignment from a string_out.

Definition at line 105 of file CORBA_String.inl.

References ptr_.

00106 {
00107   this->ptr_ = s.ptr_;
00108   return *this;
00109 }

ACE_INLINE char *& CORBA_String_out::ptr void   
 

Return underlying instance.

Definition at line 132 of file CORBA_String.inl.

References ptr_.

00133 {
00134   return this->ptr_;
00135 }


Member Data Documentation

char*& CORBA_String_out::ptr_ [private]
 

Instance.

Definition at line 143 of file CORBA_String.h.

Referenced by CORBA_String_out, operator char *&, operator=, and ptr.


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