TAO
2.0.8
|
#include <String_Manager_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. | |
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_T & | operator= (const String_Manager_T< charT > &rhs) |
Assignment from another managed type. | |
String_Manager_T & | operator= (const typename s_traits::string_var &value) |
Assignment from var type will make a copy. | |
String_Manager_T & | operator= (const character_type *p) |
Assignment from a constant * will make a copy. | |
String_Manager_T & | operator= (character_type *p) |
operator const character_type * () const | |
Cast (read-only) | |
const character_type * | in (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_type * | ptr_ |
The underlying string. |
typedef charT TAO::String_Manager_T< charT >::character_type |
typedef TAO::details::string_traits_base<charT> TAO::String_Manager_T< charT >::s_traits |
TAO::String_Manager_T< charT >::String_Manager_T | ( | void | ) | [inline] |
Default CTOR will initialize the underlying ptr_ to empty string.
TAO::String_Manager_T< charT >::String_Manager_T | ( | const String_Manager_T< charT > & | rhs | ) | [inline] |
Copy constructor.
TAO::String_Manager_T< charT >::String_Manager_T | ( | const character_type * | s | ) | [inline] |
Constructor from const char* makes a copy.
TAO::String_Manager_T< charT >::~String_Manager_T | ( | void | ) | [inline] |
Destructor.
character_type* TAO::String_Manager_T< charT >::_retn | ( | void | ) | [inline] |
For string of return type.
const character_type* TAO::String_Manager_T< charT >::in | ( | void | ) | const [inline] |
For in parameter.
character_type*& TAO::String_Manager_T< charT >::inout | ( | void | ) | [inline] |
For inout parameter.
TAO::String_Manager_T< charT >::operator const character_type * | ( | ) | const [inline] |
Cast (read-only)
String_Manager_T& TAO::String_Manager_T< charT >::operator= | ( | const String_Manager_T< charT > & | rhs | ) | [inline] |
Assignment from another managed type.
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.
String_Manager_T& TAO::String_Manager_T< charT >::operator= | ( | const character_type * | p | ) | [inline] |
Assignment from a constant * will make a copy.
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.
character_type*& TAO::String_Manager_T< charT >::out | ( | void | ) | [inline] |
for out parameter.
character_type* TAO::String_Manager_T< charT >::ptr_ [private] |
The underlying string.