Dillo
Public Member Functions | Private Attributes | List of all members
lout::container::untyped::Collection0::AbstractIterator Class Referenceabstract

The base class for all iterators, as created by container::untyped::Collection::createIterator. More...

#include <container.hh>

Public Member Functions

 AbstractIterator ()
 
void ref ()
 
void unref ()
 
virtual bool hasNext ()=0
 
virtual ObjectgetNext ()=0
 
- Public Member Functions inherited from lout::object::Object
virtual ~Object ()
 The destructor is defined as virtual (but not abstract), so that destruction of Object's works properly. More...
 
virtual bool equals (Object *other)
 Returns, whether two objects are equal. More...
 
virtual int hashValue ()
 Return a hash value for the object. More...
 
virtual Objectclone ()
 Return an exact copy of the object. More...
 
virtual void intoStringBuffer (misc::StringBuffer *sb)
 Store a textual representation of the object in a misc::StringBuffer. More...
 
const char * toString ()
 Use object::Object::intoStringBuffer to return a textual representation of the object. More...
 
virtual size_t sizeOf ()
 Return the number of bytes, this object totally uses. More...
 

Private Attributes

int refcount
 

Detailed Description

The base class for all iterators, as created by container::untyped::Collection::createIterator.

Constructor & Destructor Documentation

lout::container::untyped::Collection0::AbstractIterator::AbstractIterator ( )
inline

Member Function Documentation

virtual Object* lout::container::untyped::Collection0::AbstractIterator::getNext ( )
pure virtual
virtual bool lout::container::untyped::Collection0::AbstractIterator::hasNext ( )
pure virtual
void lout::container::untyped::Collection0::AbstractIterator::ref ( )
inline
void lout::container::untyped::Collection0::AbstractIterator::unref ( )
inline

Member Data Documentation

int lout::container::untyped::Collection0::AbstractIterator::refcount
private

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