|
Dillo v3.2.0-94-g097ad90e
|
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 Object * | getNext ()=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 Object * | clone () |
| Return an exact copy of the object. | |
| virtual void | intoStringBuffer (misc::StringBuffer *sb) |
| Store a textual representation of the object in a misc::StringBuffer. | |
| 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 |
The base class for all iterators, as created by container::untyped::Collection::createIterator.
Definition at line 63 of file container.hh.
|
inline |
Definition at line 69 of file container.hh.
References refcount.
|
pure virtual |
|
pure virtual |
|
inline |
Definition at line 71 of file container.hh.
References refcount.
Referenced by lout::container::untyped::Iterator::Iterator(), lout::container::untyped::Iterator::Iterator(), lout::container::untyped::Iterator::operator=(), and lout::container::untyped::Iterator::operator=().
|
inline |
Definition at line 72 of file container.hh.
References refcount.
Referenced by lout::container::untyped::Iterator::operator=(), lout::container::untyped::Iterator::operator=(), and lout::container::untyped::Iterator::~Iterator().
|
private |
Definition at line 66 of file container.hh.
Referenced by AbstractIterator(), ref(), and unref().