An iterator that visits child documents in a directory.
Instances of this iterator can be created by calling makeRecursive() or makeNonRecursive(). The results of these functions can additionally be used in standard algorithms, and in range-for loops:
| Public Types | |
| using | difference_type = std::ptrdiff_t | 
| using | pointer = void | 
| using | iterator_category = std::input_iterator_tag | 
| Public Member Functions | |
| AndroidDocumentIterator ()=default | |
| Creates an end/sentinel iterator. | |
| bool | operator== (const AndroidDocumentIterator &other) const noexcept | 
| bool | operator!= (const AndroidDocumentIterator &other) const noexcept | 
| AndroidDocument | operator* () const | 
| Returns the document to which this iterator points. | |
| AndroidDocumentIterator & | operator++ () | 
| Moves this iterator to the next position. | |
| AndroidDocumentIterator | begin () const | 
| Allows this iterator to be used directly in a range-for. | |
| AndroidDocumentIterator | end () const | 
| Allows this iterator to be used directly in a range-for. | |
| Static Public Member Functions | |
| static AndroidDocumentIterator | makeNonRecursive (const AndroidDocument &) | 
| Create an iterator that will visit each item in this directory. | |
| static AndroidDocumentIterator | makeRecursive (const AndroidDocument &) | 
| Create an iterator that will visit each item in this directory, and all nested directories. | |
| using juce::AndroidDocumentIterator::difference_type = std::ptrdiff_t | 
| using juce::AndroidDocumentIterator::pointer = void | 
| using juce::AndroidDocumentIterator::iterator_category = std::input_iterator_tag | 
| 
 | default | 
Creates an end/sentinel iterator.
Referenced by begin(), end(), makeNonRecursive(), makeRecursive(), operator!=(), operator++(), and operator==().
| 
 | static | 
Create an iterator that will visit each item in this directory.
References AndroidDocumentIterator().
| 
 | static | 
Create an iterator that will visit each item in this directory, and all nested directories.
References AndroidDocumentIterator().
| 
 | inlinenoexcept | 
References AndroidDocumentIterator().
Referenced by operator!=().
| 
 | inlinenoexcept | 
References AndroidDocumentIterator(), and operator==().
| AndroidDocument juce::AndroidDocumentIterator::operator* | ( | ) | const | 
Returns the document to which this iterator points.
| AndroidDocumentIterator & juce::AndroidDocumentIterator::operator++ | ( | ) | 
Moves this iterator to the next position.
References AndroidDocumentIterator().
| 
 | inline | 
Allows this iterator to be used directly in a range-for.
References AndroidDocumentIterator().
| 
 | inline | 
Allows this iterator to be used directly in a range-for.
References AndroidDocumentIterator().