TAO 3.1.4
Loading...
Searching...
No Matches
Public Types | Public Member Functions | Private Member Functions | Private Attributes | List of all members
TAO::String_out< charT > Class Template Reference

String_out. More...

#include <CORBA_String.h>

Public Types

typedef charT character_type
 
typedef TAO::details::string_traits_base< character_types_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_outoperator= (String_out< charT > const &s)
 Assignment from a string_out.
 
String_outoperator= (character_type *p)
 Assignment from a string.
 
String_outoperator= (const character_type *p)
 Assignment from a constant char*.
 
 operator character_type *& ()
 Cast.
 
character_type *& ptr ()
 Return underlying instance.
 

Private Member Functions

void operator= (const typename s_traits::string_var &)
 

Private Attributes

character_type *& ptr_
 Instance.
 

Detailed Description

template<typename charT>
class TAO::String_out< charT >

String_out.

To support the memory management for "out" parameter passing mode.

Member Typedef Documentation

◆ character_type

template<typename charT >
typedef charT TAO::String_out< charT >::character_type

◆ s_traits

template<typename charT >
typedef TAO::details::string_traits_base<character_type> TAO::String_out< charT >::s_traits

◆ string_mgr

template<typename charT >
typedef s_traits::string_mgr TAO::String_out< charT >::string_mgr

Constructor & Destructor Documentation

◆ String_out() [1/4]

template<typename charT >
TAO::String_out< charT >::String_out ( character_type *& p)
inline

Construction from a reference to a string.

◆ String_out() [2/4]

template<typename charT >
TAO::String_out< charT >::String_out ( String_var< character_type > & p)
inline

Construction from a var.

◆ String_out() [3/4]

template<typename charT >
TAO::String_out< charT >::String_out ( string_mgr & p)
inline

Construction from a TAO::String_Manager.

◆ String_out() [4/4]

template<typename charT >
TAO::String_out< charT >::String_out ( const String_out< charT > & s)
inline

Copy constructor.

Member Function Documentation

◆ operator character_type *&()

template<typename charT >
TAO::String_out< charT >::operator character_type *& ( )
inline

Cast.

◆ operator=() [1/4]

template<typename charT >
String_out & TAO::String_out< charT >::operator= ( character_type * p)
inline

Assignment from a string.

◆ operator=() [2/4]

template<typename charT >
String_out & TAO::String_out< charT >::operator= ( const character_type * p)
inline

Assignment from a constant char*.

◆ operator=() [3/4]

template<typename charT >
void TAO::String_out< charT >::operator= ( const typename s_traits::string_var & )
private

◆ operator=() [4/4]

template<typename charT >
String_out & TAO::String_out< charT >::operator= ( String_out< charT > const & s)
inline

Assignment from a string_out.

◆ ptr()

template<typename charT >
character_type *& TAO::String_out< charT >::ptr ( )
inline

Return underlying instance.

Member Data Documentation

◆ ptr_

template<typename charT >
character_type*& TAO::String_out< charT >::ptr_
private

Instance.


The documentation for this class was generated from the following files: