zorba::SingletonItemSequence#include <zorba/singleton_item_sequence.h> Inherited from: zorba::ItemSequence This class is an implementation of ItemSequence. Objects of this class represent a sequence with exactly one item.See ItemSequenceProtected Attributes
Public Functions
Protected AttributestheRefCountunsigned int theRefCount
Public FunctionsaddReferencevoid addReference() const
freevoid free()
getIteratorIterator_t getIterator() Create an iterator over the items of this sequence. The life time of the iterator shouldnot exceed the life time of this item sequence. Returnsan iterator over the itemsParameters
getRefCountlong getRefCount() const
removeReferencevoid removeReference()
SingletonItemSequence SingletonItemSequence(const Item &aItem)
Parameters
~SingletonItemSequence ~SingletonItemSequence()
|