Public Member Functions | List of all members
UriIterator Class Referenceabstract

An abstract read iterator. More...

#include <Uri.hpp>

Inheritance diagram for UriIterator:
[legend]

Public Member Functions

virtual ~UriIterator ()=default
 Destroy the iterator instance. More...
 
virtual bool hasNext () const =0
 Returns true if there is another item available in the iterator. More...
 
virtual std::unique_ptr< Urinext ()=0
 Get the next item. More...
 

Detailed Description

An abstract read iterator.

Constructor & Destructor Documentation

◆ ~UriIterator()

virtual ~UriIterator ( )
virtualdefault

Destroy the iterator instance.

Member Function Documentation

◆ hasNext()

virtual bool hasNext ( ) const
pure virtual

Returns true if there is another item available in the iterator.

Returns
true if there is another item available in the iterator
Deprecated:

Implemented in File::FileUriIterator.

◆ next()

virtual std::unique_ptr<Uri> next ( )
pure virtual

Get the next item.

Returns
the next item

Implemented in File::FileUriIterator.


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