Dillo v3.1.1-119-g140d9ebd
|
Abstract base class for all container objects in container::untyped. More...
#include <container.hh>
Public Member Functions | |
void | intoStringBuffer (misc::StringBuffer *sb) |
Store a textual representation of the object in a misc::StringBuffer. | |
Iterator | iterator () |
virtual int | size ()=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. | |
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. | |
Additional Inherited Members | |
Protected Member Functions inherited from lout::container::untyped::Collection0 | |
virtual AbstractIterator * | createIterator ()=0 |
Abstract base class for all container objects in container::untyped.
Definition at line 111 of file container.hh.
|
virtual |
Store a textual representation of the object in a misc::StringBuffer.
This is used by object::Object::toString.
Reimplemented from lout::object::Object.
Reimplemented in lout::container::untyped::HashTable.
Definition at line 88 of file container.cc.
References lout::misc::StringBuffer::append(), lout::container::untyped::Iterator::hasNext(), and iterator().
Referenced by lout::container::typed::Collection< T >::intoStringBuffer().
|
inline |
Definition at line 115 of file container.hh.
References lout::container::untyped::Collection0::createIterator().
Referenced by intoStringBuffer(), and lout::container::typed::Collection< T >::iterator().
|
pure virtual |