|
LMMS
|
#include <juce_AndroidDocument.h>
Public Types | |
| using | difference_type = std::ptrdiff_t |
| using | pointer = void |
| using | iterator_category = std::input_iterator_tag |
Public Member Functions | |
| AndroidDocumentIterator ()=default | |
| bool | operator== (const AndroidDocumentIterator &other) const noexcept |
| bool | operator!= (const AndroidDocumentIterator &other) const noexcept |
| AndroidDocument | operator* () const |
| AndroidDocumentIterator & | operator++ () |
| AndroidDocumentIterator | begin () const |
| AndroidDocumentIterator | end () const |
Static Public Member Functions | |
| static AndroidDocumentIterator | makeNonRecursive (const AndroidDocument &) |
| static AndroidDocumentIterator | makeRecursive (const AndroidDocument &) |
Private Member Functions | |
| AndroidDocumentIterator (std::unique_ptr< Pimpl >) | |
Private Attributes | |
| std::shared_ptr< Pimpl > | pimpl |
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:
@tags{Core}
| using juce::AndroidDocumentIterator::difference_type = std::ptrdiff_t |
| using juce::AndroidDocumentIterator::iterator_category = std::input_iterator_tag |
| using juce::AndroidDocumentIterator::pointer = void |
|
default |
Creates an end/sentinel iterator.
|
explicitprivate |
|
inline |
Allows this iterator to be used directly in a range-for.
|
inline |
Allows this iterator to be used directly in a range-for.
|
static |
Create an iterator that will visit each item in this directory.
|
static |
Create an iterator that will visit each item in this directory, and all nested directories.
|
inlinenoexcept |
| AndroidDocument juce::AndroidDocumentIterator::operator* | ( | ) | const |
Returns the document to which this iterator points.
| AndroidDocumentIterator & juce::AndroidDocumentIterator::operator++ | ( | ) |
Moves this iterator to the next position.
|
inlinenoexcept |
|
private |