Dillo v3.1.1-111-gd4f56d0d
Loading...
Searching...
No Matches
lout::container::untyped::List::ListIterator Class Reference

Public Member Functions

 ListIterator (List::Node *node)
 
bool hasNext ()
 
ObjectgetNext ()
 
- Public Member Functions inherited from lout::container::untyped::Collection0::AbstractIterator
 AbstractIterator ()
 
void ref ()
 
void unref ()
 
- 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

List::Nodecurrent
 

Detailed Description

Definition at line 198 of file container.hh.

Constructor & Destructor Documentation

◆ ListIterator()

lout::container::untyped::List::ListIterator::ListIterator ( List::Node node)
inline

Definition at line 203 of file container.hh.

References current.

Member Function Documentation

◆ getNext()

Object * lout::container::untyped::List::ListIterator::getNext ( )
virtual

◆ hasNext()

bool lout::container::untyped::List::ListIterator::hasNext ( )
virtual

Member Data Documentation

◆ current

List::Node* lout::container::untyped::List::ListIterator::current
private

Definition at line 201 of file container.hh.

Referenced by ListIterator().


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