TAO  2.3.3
Public Types | Public Member Functions | Private Attributes | List of all members
TAO::String_Manager_T< charT > Class Template Reference

#include <String_Traits_Base_T.h>

Public Types

typedef charT character_type
 
typedef TAO::details::string_traits_base< charT > s_traits
 

Public Member Functions

 String_Manager_T (void)
 Default CTOR will initialize the underlying ptr_ to empty string. More...
 
 String_Manager_T (const String_Manager_T< charT > &rhs)
 Copy constructor. More...
 
 String_Manager_T (const character_type *s)
 Constructor from const char* makes a copy. More...
 
 ~String_Manager_T (void)
 Destructor. More...
 
String_Manager_Toperator= (const String_Manager_T< charT > &rhs)
 Assignment from another managed type. More...
 
String_Manager_Toperator= (const typename s_traits::string_var &value)
 Assignment from var type will make a copy. More...
 
String_Manager_Toperator= (const character_type *p)
 Assignment from a constant * will make a copy. More...
 
String_Manager_Toperator= (character_type *p)
 
 operator const character_type * () const
 Cast (read-only) More...
 
const character_typein (void) const
 For in parameter. More...
 
character_type *& inout (void)
 For inout parameter. More...
 
character_type *& out (void)
 for out parameter. More...
 
character_type_retn (void)
 For string of return type. More...
 

Private Attributes

character_typeptr_
 The underlying string. More...
 

Member Typedef Documentation

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

Constructor & Destructor Documentation

template<typename charT >
TAO::String_Manager_T< charT >::String_Manager_T ( void  )
inline

Default CTOR will initialize the underlying ptr_ to empty string.

template<typename charT >
TAO::String_Manager_T< charT >::String_Manager_T ( const String_Manager_T< charT > &  rhs)
inline

Copy constructor.

template<typename charT >
TAO::String_Manager_T< charT >::String_Manager_T ( const character_type s)
inline

Constructor from const char* makes a copy.

template<typename charT >
TAO::String_Manager_T< charT >::~String_Manager_T ( void  )
inline

Destructor.

Member Function Documentation

template<typename charT >
character_type* TAO::String_Manager_T< charT >::_retn ( void  )
inline

For string of return type.

template<typename charT >
const character_type* TAO::String_Manager_T< charT >::in ( void  ) const
inline

For in parameter.

template<typename charT >
character_type*& TAO::String_Manager_T< charT >::inout ( void  )
inline

For inout parameter.

template<typename charT >
TAO::String_Manager_T< charT >::operator const character_type * ( ) const
inline

Cast (read-only)

template<typename charT >
String_Manager_T& TAO::String_Manager_T< charT >::operator= ( const String_Manager_T< charT > &  rhs)
inline

Assignment from another managed type.

template<typename charT >
String_Manager_T& TAO::String_Manager_T< charT >::operator= ( const typename s_traits::string_var &  value)
inline

Assignment from var type will make a copy.

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

Assignment from a constant * will make a copy.

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

Assignment from char* will not make a copy. The String_Manager_T will now own the string.

template<typename charT >
character_type*& TAO::String_Manager_T< charT >::out ( void  )
inline

for out parameter.

Member Data Documentation

template<typename charT >
character_type* TAO::String_Manager_T< charT >::ptr_
private

The underlying string.


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