A sequence that contains only one item.
More...
#include <zorba/singleton_item_sequence.h>
A sequence that contains only one item.
This class is an implementation of the ItemSequence. Objects of this class are backed by an iterator that returns on the first next call, the Item that is passed to this class' constructor.
See ItemSequence
- Examples:
- datamanager.cpp, serialization.cpp, and simple.cpp.
Definition at line 34 of file singleton_item_sequence.h.
zorba::SingletonItemSequence::SingletonItemSequence |
( |
const Item & |
aItem | ) |
|
Constructor.
- Parameters
-
aItem | the single item in this sequence |
virtual zorba::SingletonItemSequence::~SingletonItemSequence |
( |
| ) |
|
|
inlinevirtual |
void zorba::SmartObject::addReference |
( |
| ) |
const |
|
inlineinherited |
virtual void zorba::SmartObject::free |
( |
| ) |
|
|
virtualinherited |
virtual Iterator_t zorba::SingletonItemSequence::getIterator |
( |
| ) |
|
|
virtual |
long zorba::SmartObject::getRefCount |
( |
| ) |
const |
|
inlineinherited |
void zorba::SmartObject::removeReference |
( |
| ) |
|
|
inlineinherited |
Item zorba::SingletonItemSequence::theItem |
|
protected |
unsigned int zorba::SmartObject::theRefCount |
|
mutableprotectedinherited |
The documentation for this class was generated from the following file: