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