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

#include <String_Manager_T.h>

List of all members.

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

Private Attributes

character_typeptr_
 The underlying string.

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


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 file:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines