Classes that implement this interface provide the functionality for ArchiveIterator for one specific element type. More...
#include <Valuable/Archive.hpp>
Public Member Functions | |
| virtual std::shared_ptr < ArchiveElementImpl > | get () const =0 |
| Fetch the current element or empty Smart pointer on non-valid iterators. More... | |
| virtual bool | isValid () const =0 |
| Check if the iterator still points to valid element. More... | |
| virtual void | next ()=0 |
| Moves the iterator to the next element. | |
| virtual bool | operator== (const ArchiveIteratorImpl &other) const =0 |
| Check if two iterators point to the same object. More... | |
| virtual | ~ArchiveIteratorImpl () |
| Virtual destructor. | |
Classes that implement this interface provide the functionality for ArchiveIterator for one specific element type.
This is used to iterate ArchiveElement children. All functions are called from ArchiveIterator.
|
pure virtual |
Fetch the current element or empty Smart pointer on non-valid iterators.
Implemented in Valuable::XMLArchiveElement::XMLIterator.
|
pure virtual |
Check if the iterator still points to valid element.
Implemented in Valuable::XMLArchiveElement::XMLIterator.
|
pure virtual |
Check if two iterators point to the same object.
| other | The seond iterator implementation to check. |
Implemented in Valuable::XMLArchiveElement::XMLIterator.