#include <CORBA_String.h>
Public Types | |
typedef charT | character_type |
typedef TAO::details::string_traits_base< character_type > | s_traits |
typedef s_traits::string_mgr | string_mgr |
Public Member Functions | |
String_out (character_type *&p) | |
Construction from a reference to a string. | |
String_out (String_var< character_type > &p) | |
Construction from a var. | |
String_out (string_mgr &p) | |
Construction from a TAO::String_Manager. | |
String_out (const String_out< charT > &s) | |
Copy constructor. | |
String_out & | operator= (String_out< charT > const &s) |
Assignment from a string_out. | |
String_out & | operator= (character_type *p) |
Assignment from a string. | |
String_out & | operator= (const character_type *p) |
Assignment from a constant char*. | |
operator character_type *& () | |
Cast. | |
character_type *& | ptr (void) |
Return underlying instance. | |
Private Member Functions | |
void | operator= (const typename s_traits::string_var &) |
Private Attributes | |
character_type *& | ptr_ |
Instance. |
To support the memory management for "out" parameter passing mode.
Definition at line 174 of file CORBA_String.h.
typedef charT TAO::String_out< charT >::character_type |
Definition at line 177 of file CORBA_String.h.
typedef TAO::details::string_traits_base<character_type> TAO::String_out< charT >::s_traits |
Definition at line 178 of file CORBA_String.h.
typedef s_traits::string_mgr TAO::String_out< charT >::string_mgr |
Definition at line 179 of file CORBA_String.h.
TAO::String_out< charT >::String_out | ( | character_type *& | p | ) | [inline] |
Construction from a reference to a string.
Definition at line 182 of file CORBA_String.h.
References TAO::String_out< charT >::ptr_.
TAO::String_out< charT >::String_out | ( | String_var< character_type > & | p | ) | [inline] |
Construction from a var.
Definition at line 188 of file CORBA_String.h.
References TAO::String_out< charT >::ptr_.
00188 : ptr_ (p.out ()) 00189 { 00190 }
TAO::String_out< charT >::String_out | ( | string_mgr & | p | ) | [inline] |
Construction from a TAO::String_Manager.
Definition at line 193 of file CORBA_String.h.
References TAO::String_out< charT >::ptr_.
00193 : ptr_ (p.out ()) 00194 { 00195 }
TAO::String_out< charT >::String_out | ( | const String_out< charT > & | s | ) | [inline] |
Copy constructor.
Definition at line 198 of file CORBA_String.h.
References TAO::String_out< charT >::ptr_.
00198 : ptr_ (s.ptr_) 00199 { 00200 }
TAO::String_out< charT >::operator character_type *& | ( | ) | [inline] |
Cast.
Definition at line 224 of file CORBA_String.h.
References TAO::String_out< charT >::operator character_type *&(), and TAO::String_out< charT >::ptr_.
Referenced by TAO::String_out< charT >::operator character_type *&().
00225 { 00226 return this->ptr_; 00227 }
void TAO::String_out< charT >::operator= | ( | const typename s_traits::string_var & | ) | [private] |
String_out& TAO::String_out< charT >::operator= | ( | const character_type * | p | ) | [inline] |
Assignment from a constant char*.
Definition at line 217 of file CORBA_String.h.
References TAO::String_out< charT >::ptr_.
00218 { 00219 this->ptr_ = s_traits::duplicate (p); 00220 return *this; 00221 }
String_out& TAO::String_out< charT >::operator= | ( | character_type * | p | ) | [inline] |
Assignment from a string.
Definition at line 210 of file CORBA_String.h.
References TAO::String_out< charT >::ptr_.
00211 { 00212 this->ptr_ = p; 00213 return *this; 00214 }
String_out& TAO::String_out< charT >::operator= | ( | String_out< charT > const & | s | ) | [inline] |
Assignment from a string_out.
Definition at line 203 of file CORBA_String.h.
References TAO::String_out< charT >::ptr_.
00204 { 00205 this->ptr_ = s.ptr_; 00206 return *this; 00207 }
character_type*& TAO::String_out< charT >::ptr | ( | void | ) | [inline] |
Return underlying instance.
Definition at line 230 of file CORBA_String.h.
References TAO::String_out< charT >::ptr(), and TAO::String_out< charT >::ptr_.
Referenced by TAO::String_out< charT >::ptr().
00231 { 00232 return this->ptr_; 00233 }
character_type*& TAO::String_out< charT >::ptr_ [private] |
Instance.
Definition at line 237 of file CORBA_String.h.
Referenced by TAO::String_out< charT >::operator character_type *&(), TAO::String_out< charT >::operator=(), TAO::String_out< charT >::ptr(), and TAO::String_out< charT >::String_out().