TAO  2.0.8
Public Types | Public Member Functions | Private Member Functions | Private Attributes
TAO::String_out< charT > Class Template Reference

String_out. More...

#include <CORBA_String.h>

List of all members.

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_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 (void)
 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

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

Constructor & Destructor Documentation

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

Construction from a reference to a string.

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

Construction from a var.

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

Construction from a TAO::String_Manager.

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

Copy constructor.


Member Function Documentation

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

Cast.

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

Assignment from a string_out.

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

Assignment from a string.

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

Assignment from a constant char*.

template<typename charT >
void TAO::String_out< charT >::operator= ( const typename s_traits::string_var &  ) [private]
template<typename charT >
character_type*& TAO::String_out< charT >::ptr ( void  ) [inline]

Return underlying instance.


Member Data Documentation

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

Instance.


The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines