#include <Managed_Types.h>
Public Methods | |
TAO_String_Manager (void) | |
default CTOR will initialize the underlying ptr_ to empty string. | |
TAO_String_Manager (const TAO_String_Manager &) | |
copy constructor. | |
~TAO_String_Manager (void) | |
destructor. | |
TAO_String_Manager& | operator= (const TAO_String_Manager&) |
assignment from another managed type. | |
TAO_String_Manager& | operator= (const CORBA::String_var&) |
assignment from var type will make a copy. | |
TAO_String_Manager& | operator= (const char *) |
assignment from a constant char* will make a copy. | |
TAO_String_Manager& | operator= (char *) |
assignment from char* will not make a copy. The String_Manager will now own the string. | |
operator const char * () const | |
cast (read-only). | |
const char* | in (void) const |
for in parameter. | |
char*& | inout (void) |
for inout parameter. | |
char*& | out (void) |
for out parameter. | |
char* | _retn (void) |
for string of return type. | |
Private Attributes | |
char* | ptr_ |
The underlying string. |
This class implements the generic string manager and is used in the C++ mapping of "struct" members that are of type "string". The difference between this class and the CORBA::String_var class is that the default conctructor initializes the underlying string to an empty string in this class whereas it is a NUL string for the _var class.
|
default CTOR will initialize the underlying ptr_ to empty string.
|
|
copy constructor.
|
|
destructor.
|
|
for string of return type.
|
|
for in parameter.
|
|
for inout parameter.
|
|
cast (read-only).
|
|
assignment from char* will not make a copy. The String_Manager will now own the string.
|
|
assignment from a constant char* will make a copy.
|
|
assignment from var type will make a copy.
|
|
assignment from another managed type.
|
|
for out parameter.
|
|
The underlying string.
|