#include <Managed_Types.h>
Public Methods | |
| TAO_String_Manager (void) | |
| default CTOR will initialize the underlying ptr_ to empty string. More... | |
| TAO_String_Manager (const TAO_String_Manager &) | |
| copy constructor. More... | |
| ~TAO_String_Manager (void) | |
| destructor. More... | |
| TAO_String_Manager & | operator= (const TAO_String_Manager &) |
| assignment from another managed type. More... | |
| TAO_String_Manager & | operator= (const CORBA::String_var &) |
| assignment from var type will make a copy. More... | |
| TAO_String_Manager & | operator= (const char *) |
| assignment from a constant char* will make a copy. More... | |
| TAO_String_Manager & | operator= (char *) |
| assignment from char* will not make a copy. The String_Manager will now own the string. More... | |
| operator const char * () const | |
| cast (read-only). More... | |
| const char * | in (void) const |
| for in parameter. More... | |
| char *& | inout (void) |
| for inout parameter. More... | |
| char *& | out (void) |
| for out parameter. More... | |
| char * | _retn (void) |
| for string of return type. More... | |
Private Attributes | |
| char * | ptr_ |
| The underlying string. More... | |
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.
|
1.2.13.1 written by Dimitri van Heesch,
© 1997-2001