ACE::String_Conversion::Convert_InOut< SrcT, DestT > Class Template Reference

A lightweight classed used for input/output symmantics. More...

#include <String_Conversion_T.h>

Collaboration diagram for ACE::String_Conversion::Convert_InOut< SrcT, DestT >:

Collaboration graph
[legend]
List of all members.

Public Member Functions

 Convert_InOut (SrcT *src)
 Convert_InOut (DestT *src)
 ~Convert_InOut ()
DestT * c_str ()
DestT * char_rep ()

Private Member Functions

 Convert_InOut ()
 Not implemented.
 Convert_InOut (Convert_InOut &)
Convert_InOutoperator= (Convert_InOut &)

Private Attributes

size_t len_
 Internal pointer to the converted string.
DestT * str_
SrcT * orig_
DestT * ownstr_

Detailed Description

template<typename SrcT, typename DestT>
class ACE::String_Conversion::Convert_InOut< SrcT, DestT >

A lightweight classed used for input/output symmantics.

This class will either pass the src string along or make a temporary copy. The if a temp string is created, it is copied back to the src on destruction.


Constructor & Destructor Documentation

template<typename SrcT, typename DestT>
ACE::String_Conversion::Convert_InOut< SrcT, DestT >::Convert_InOut SrcT *  src  )  [inline, explicit]
 

template<typename SrcT, typename DestT>
ACE::String_Conversion::Convert_InOut< SrcT, DestT >::Convert_InOut DestT *  src  )  [inline, explicit]
 

template<typename SrcT, typename DestT>
ACE_INLINE ACE::String_Conversion::Convert_InOut< SrcT, DestT >::~Convert_InOut  ) 
 

template<typename SrcT, typename DestT>
ACE::String_Conversion::Convert_InOut< SrcT, DestT >::Convert_InOut  )  [private]
 

Not implemented.

template<typename SrcT, typename DestT>
ACE::String_Conversion::Convert_InOut< SrcT, DestT >::Convert_InOut Convert_InOut< SrcT, DestT > &   )  [private]
 


Member Function Documentation

template<typename SrcT, typename DestT>
ACE_INLINE DestT * ACE::String_Conversion::Convert_InOut< SrcT, DestT >::c_str  ) 
 

template<typename SrcT, typename DestT>
DestT* ACE::String_Conversion::Convert_InOut< SrcT, DestT >::char_rep  )  [inline]
 

template<typename SrcT, typename DestT>
Convert_InOut& ACE::String_Conversion::Convert_InOut< SrcT, DestT >::operator= Convert_InOut< SrcT, DestT > &   )  [private]
 


Member Data Documentation

template<typename SrcT, typename DestT>
size_t ACE::String_Conversion::Convert_InOut< SrcT, DestT >::len_ [private]
 

Internal pointer to the converted string.

template<typename SrcT, typename DestT>
SrcT* ACE::String_Conversion::Convert_InOut< SrcT, DestT >::orig_ [private]
 

template<typename SrcT, typename DestT>
DestT* ACE::String_Conversion::Convert_InOut< SrcT, DestT >::ownstr_ [private]
 

template<typename SrcT, typename DestT>
DestT* ACE::String_Conversion::Convert_InOut< SrcT, DestT >::str_ [private]
 


The documentation for this class was generated from the following files:
Generated on Wed Nov 23 15:51:43 2005 for ACE by  doxygen 1.4.5