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

Public Member Functions

 VectorIterator (Vector *vector)
 
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

Vectorvector
 
int index
 

Detailed Description

Definition at line 133 of file container.hh.

Constructor & Destructor Documentation

◆ VectorIterator()

lout::container::untyped::Vector::VectorIterator::VectorIterator ( Vector vector)
inline

Definition at line 140 of file container.hh.

References index, and vector.

Member Function Documentation

◆ getNext()

Object * lout::container::untyped::Vector::VectorIterator::getNext ( )
virtual

◆ hasNext()

bool lout::container::untyped::Vector::VectorIterator::hasNext ( )
virtual

Member Data Documentation

◆ index

int lout::container::untyped::Vector::VectorIterator::index
private

Definition at line 137 of file container.hh.

Referenced by getNext(), and VectorIterator().

◆ vector

Vector* lout::container::untyped::Vector::VectorIterator::vector
private

Definition at line 136 of file container.hh.

Referenced by getNext(), and VectorIterator().


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