Dillo v3.1.1-46-g8a360e32
Loading...
Searching...
No Matches
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.
 
virtual bool equals (Object *other)
 Returns, whether two objects are equal.
 
virtual int hashValue ()
 Return a hash value for the object.
 
virtual Objectclone ()
 Return an exact copy of the object.
 
virtual void intoStringBuffer (misc::StringBuffer *sb)
 Store a textual representation of the object in a misc::StringBuffer.
 
const char * toString ()
 Use object::Object::intoStringBuffer to return a textual representation of the object.
 
virtual size_t sizeOf ()
 Return the number of bytes, this object totally uses.
 

Private Attributes

int refcount
 

Detailed Description

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

Definition at line 63 of file container.hh.

Constructor & Destructor Documentation

◆ AbstractIterator()

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

Definition at line 69 of file container.hh.

References refcount.

Member Function Documentation

◆ getNext()

◆ hasNext()

◆ ref()

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

◆ unref()

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

Member Data Documentation

◆ refcount

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

Definition at line 66 of file container.hh.

Referenced by AbstractIterator(), ref(), and unref().


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