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