Dillo v3.1.1-46-g8a360e32
Loading...
Searching...
No Matches
lout::container::untyped::Stack::StackIterator Class Reference

Public Member Functions

 StackIterator (Stack::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

Stack::Nodecurrent
 

Detailed Description

Definition at line 348 of file container.hh.

Constructor & Destructor Documentation

◆ StackIterator()

lout::container::untyped::Stack::StackIterator::StackIterator ( Stack::Node node)
inline

Definition at line 353 of file container.hh.

References current.

Member Function Documentation

◆ getNext()

Object * lout::container::untyped::Stack::StackIterator::getNext ( )
virtual

◆ hasNext()

bool lout::container::untyped::Stack::StackIterator::hasNext ( )
virtual

Member Data Documentation

◆ current

Stack::Node* lout::container::untyped::Stack::StackIterator::current
private

Definition at line 351 of file container.hh.

Referenced by getNext(), and StackIterator().


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