A sequence that contains only one item.
More...
#include <zorba/singleton_item_sequence.h>
List of all members.
Detailed Description
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.
Constructor & Destructor Documentation
zorba::SingletonItemSequence::SingletonItemSequence |
( |
const Item & |
aItem | ) |
|
Constructor.
- Parameters:
-
aItem | the single item in this sequence |
virtual zorba::SingletonItemSequence::~SingletonItemSequence |
( |
| ) |
|
|
inlinevirtual |
Member Function Documentation
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 |
Member Data Documentation
Item zorba::SingletonItemSequence::theItem |
|
protected |
unsigned int zorba::SmartObject::theRefCount |
|
mutableprotectedinherited |
The documentation for this class was generated from the following file: