Public Member Functions | Protected Attributes | List of all members
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]

Public Member Functions

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

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 ( )
inlinevirtual

Destructor.

Definition at line 74 of file empty_sequence.h.

Member Function Documentation

void zorba::SmartObject::addReference ( ) const
inlineinherited

Definition at line 40 of file smart_ptr.h.

virtual void zorba::SmartObject::free ( )
virtualinherited
virtual Iterator_t zorba::EmptySequence::getIterator ( )
virtual

get the void Iterator

Returns
a void iterator

Implements zorba::ItemSequence.

long zorba::SmartObject::getRefCount ( ) const
inlineinherited

Definition at line 38 of file smart_ptr.h.

void zorba::SmartObject::removeReference ( )
inlineinherited

Definition at line 42 of file smart_ptr.h.

Member Data Documentation

unsigned int zorba::SmartObject::theRefCount
mutableprotectedinherited

Definition at line 27 of file smart_ptr.h.


The documentation for this class was generated from the following file: