#include <juce_AndroidDocument.h>
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:
{
if (child.getInfo().getName() == name)
}
{
std::vector<AndroidDocument> children;
std::back_inserter (children));
return children;
}
static AndroidDocumentIterator makeNonRecursive(const AndroidDocument &)
static AndroidDocumentIterator makeRecursive(const AndroidDocument &)
AndroidDocumentIterator()=default
Definition at line 436 of file juce_AndroidDocument.h.
◆ difference_type
using juce::AndroidDocumentIterator::difference_type = std::ptrdiff_t |
◆ iterator_category
using juce::AndroidDocumentIterator::iterator_category = std::input_iterator_tag |
◆ pointer
◆ AndroidDocumentIterator()
juce::AndroidDocumentIterator::AndroidDocumentIterator |
( |
| ) |
|
|
default |
Creates an end/sentinel iterator.
◆ begin()
◆ end()
◆ makeNonRecursive()
Create an iterator that will visit each item in this directory.
◆ makeRecursive()
Create an iterator that will visit each item in this directory, and all nested directories.
◆ operator!=()
◆ operator*()
Returns the document to which this iterator points.
◆ operator++()
Moves this iterator to the next position.
◆ operator==()
The documentation for this class was generated from the following file: