Public Member Functions | Protected Attributes
zorba::EmptySequence Class Reference

This class is an implementation of the ItemSequence. More...

#include <zorba/empty_sequence.h>

Inheritance diagram for zorba::EmptySequence:
Inheritance graph
[legend]
Collaboration diagram for zorba::EmptySequence:
Collaboration graph
[legend]

List of all members.

Public Member Functions

void addReference () const
 EmptySequence ()
 Constructor.
virtual void free ()
virtual Iterator_t getIterator ()
 get the void Iterator
long getRefCount () const
void removeReference ()
virtual ~EmptySequence ()
 Destructor.

Protected Attributes

unsigned int theRefCount

Detailed Description

This class is an implementation of the ItemSequence.

Objects of this class return, on the first next call, an empty sequence.

See ItemSequence

Examples:

external_functions.cpp.

Definition at line 32 of file empty_sequence.h.


Constructor & Destructor Documentation

zorba::EmptySequence::EmptySequence ( ) [inline]

Constructor.

Definition at line 70 of file empty_sequence.h.

virtual zorba::EmptySequence::~EmptySequence ( ) [inline, virtual]

Destructor.

Definition at line 74 of file empty_sequence.h.


Member Function Documentation

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::EmptySequence::getIterator ( ) [virtual]

get the void Iterator

Returns:
a void iterator

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.


Member Data Documentation

unsigned int zorba::SmartObject::theRefCount [mutable, protected, inherited]

Definition at line 27 of file smart_ptr.h.


The documentation for this class was generated from the following file:
blog comments powered by Disqus