TAO  2.2.8
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
MM_Sequence_Iterator_T.h File Reference

Implement the iterator for CORBA sequences that need memory management. More...

Detailed Description

Implement the iterator for CORBA sequences that need memory management.

There are some CORBA sequences that need to manage memory (e.g., string sequences). Iterators for these classes also need to manage memory and therefore do not use the iterators defined for the generic sequences.

Essentially, only the iterators operators that reference and return elements (e.g.,operator*, operator[]) need to be overridden from the behavior provided by the generic sequence iterators. Template specialization code is appropriate here but I couldn't figure out how to make the compiler happy.

In lieu of template specialization code separate iterators exist for sequences that manage memory. Here are those iterators.

Id:
MM_Sequence_Iterator_T.h 84947 2009-03-23 15:28:38Z johnnyw
Author
Joe Hoffert