This class is an implementation of the ItemSequence. More...
#include <zorba/vector_item_sequence.h>


Classes | |
| class | InternalIterator |
Public Member Functions | |
| void | addReference () const |
| virtual void | free () |
| virtual Iterator_t | getIterator () |
| get the Iterator over the items vector | |
| long | getRefCount () const |
| void | removeReference () |
| VectorItemSequence (const std::vector< Item > &aSequence) | |
| Constructor. | |
| virtual | ~VectorItemSequence () |
| Destructor. | |
Protected Attributes | |
| unsigned int | theRefCount |
| std::vector< Item > | theSequence |
This class is an implementation of the ItemSequence.
Objects of this class return, on each next call, an Item of the vector that is passed to this object.
See ItemSequence
| zorba::VectorItemSequence::VectorItemSequence | ( | const std::vector< Item > & | aSequence | ) |
Constructor.
| aSequence | the vector containing the sequence of Items |
| virtual zorba::VectorItemSequence::~VectorItemSequence | ( | ) | [inline, virtual] |
Destructor.
Definition at line 80 of file vector_item_sequence.h.
| void zorba::SmartObject::addReference | ( | ) | const [inline, inherited] |
Definition at line 40 of file smart_ptr.h.
| virtual void zorba::SmartObject::free | ( | ) | [virtual, inherited] |
| virtual Iterator_t zorba::VectorItemSequence::getIterator | ( | ) | [virtual] |
get the Iterator over the items vector
Implements zorba::ItemSequence.
| long zorba::SmartObject::getRefCount | ( | ) | const [inline, inherited] |
Definition at line 38 of file smart_ptr.h.
| void zorba::SmartObject::removeReference | ( | ) | [inline, inherited] |
Definition at line 42 of file smart_ptr.h.
unsigned int zorba::SmartObject::theRefCount [mutable, protected, inherited] |
Definition at line 27 of file smart_ptr.h.
std::vector<Item> zorba::VectorItemSequence::theSequence [protected] |
Definition at line 88 of file vector_item_sequence.h.