#include <Managed_Types.h>
Public Member Functions | |
TAO_SeqElem_WString_Manager (CORBA::WChar **buffer, CORBA::Boolean release) | |
constructor from address of an element | |
TAO_SeqElem_WString_Manager (const TAO_SeqElem_WString_Manager &) | |
copy constructor | |
~TAO_SeqElem_WString_Manager (void) | |
destructor | |
TAO_SeqElem_WString_Manager & | operator= (const TAO_SeqElem_WString_Manager &) |
assignment from another managed type | |
TAO_SeqElem_WString_Manager & | operator= (const CORBA::WString_var &) |
assignment from var type will make a copy | |
TAO_SeqElem_WString_Manager & | operator= (const CORBA::WChar *) |
assignment from a constant char* will make a copy | |
TAO_SeqElem_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 Member Functions | |
TAO_SeqElem_WString_Manager (void) | |
default ctor | |
Private Attributes | |
CORBA::WChar ** | ptr_ |
Address of string element from the parent's buffer. | |
CORBA::Boolean | release_ |
control memory managment semantics. | |
Friends | |
class | TAO_Unbounded_WString_Sequence |
Manager for strings that are the element type of sequences. Similar to the mapping for sequences of objects (and other pseudo objects) the mapping for sequences of strings requires an auxiliar class or <manager> to handle the allocation and deallocation of the string. The main difference with respect to WString_var classes is that automatic release is not controlled on a per-item basis, but for the sequence as a whole. The difference wrt Object_Manager is that strings are duplicated using CORBA::WString_dup () as opposed to T::_duplicate(), and released using CORBA::WString_free() instead of CORBA::release() This class implements the generic string manager and is used to instantiate the proper sequence types. This class will have the same semantics as the string manager classes defined earlier with respect to the various assignment operators. However, the freeing of old storage will be dependent on the "release" value of the parent sequence class.
|
constructor from address of an element
|
|
copy constructor
|
|
destructor
|
|
default ctor
|
|
for string of return type.
|
|
for in parameter.
|
|
for inout parameter.
|
|
cast (read-only)
|
|
assignment from char* will not make a copy. The SeqElem_WString_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.
|
|
|
|
Address of string element from the parent's buffer.
|
|
control memory managment semantics.
|