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

This is a small wrapper for AbstractIterator, which may be used directly, not as a pointer, to makes memory management simpler. More...

#include <container.hh>

Public Member Functions

 Iterator ()
 
 Iterator (const Iterator &it2)
 
 Iterator (Iterator &it2)
 
 ~Iterator ()
 
Iteratoroperator= (const Iterator &it2)
 
Iteratoroperator= (Iterator &it2)
 
bool hasNext ()
 
object::ObjectgetNext ()
 

Private Member Functions

 Iterator (Collection0::AbstractIterator *impl)
 

Private Attributes

Collection0::AbstractIteratorimpl
 

Friends

class Collection
 

Detailed Description

This is a small wrapper for AbstractIterator, which may be used directly, not as a pointer, to makes memory management simpler.

Definition at line 86 of file container.hh.

Constructor & Destructor Documentation

◆ Iterator() [1/4]

lout::container::untyped::Iterator::Iterator ( Collection0::AbstractIterator impl)
inlineprivate

Definition at line 94 of file container.hh.

References impl.

◆ Iterator() [2/4]

lout::container::untyped::Iterator::Iterator ( )

Definition at line 39 of file container.cc.

References impl.

◆ Iterator() [3/4]

lout::container::untyped::Iterator::Iterator ( const Iterator it2)

◆ Iterator() [4/4]

lout::container::untyped::Iterator::Iterator ( Iterator it2)

◆ ~Iterator()

lout::container::untyped::Iterator::~Iterator ( )

Member Function Documentation

◆ getNext()

object::Object * lout::container::untyped::Iterator::getNext ( )
inline

◆ hasNext()

bool lout::container::untyped::Iterator::hasNext ( )
inline

◆ operator=() [1/2]

Iterator & lout::container::untyped::Iterator::operator= ( const Iterator it2)

◆ operator=() [2/2]

Iterator & lout::container::untyped::Iterator::operator= ( Iterator it2)

Friends And Related Symbol Documentation

◆ Collection

friend class Collection
friend

Definition at line 88 of file container.hh.

Member Data Documentation

◆ impl

Collection0::AbstractIterator* lout::container::untyped::Iterator::impl
private

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