27JUCE_BEGIN_IGNORE_WARNINGS_GCC_LIKE (
"-Wdeprecated-declarations")
28JUCE_BEGIN_IGNORE_WARNINGS_MSVC (4996)
62 float getEstimatedProgress()
const;
70 bool directory =
false;
72 bool readOnly =
false;
105 using pointer =
void;
125 const String& wildCard =
"*",
134 return iterator ==
nullptr &&
other.iterator ==
nullptr;
163 auto result = *(*this);
187JUCE_END_IGNORE_WARNINGS_MSVC
188JUCE_END_IGNORE_WARNINGS_GCC_LIKE
Describes the attributes of a file or folder.
int64 getFileSize() const
The size of the item.
Time getModificationTime() const
The time at which the item was last modified.
bool isHidden() const
True if the item is hidden, false otherwise.
Time getCreationTime() const
The time at which the item was created.
bool isReadOnly() const
True if the item is read-only, false otherwise.
bool isDirectory() const
True if the item is a directory, false otherwise.
File getFile() const
The path to a file or folder.
Represents a local file or directory.
@ findFiles
Use this flag to indicate that you want to find files.
@ yes
Requests that a file system traversal follow all symbolic links.
Allows iterating over files and folders using C++11 range-for syntax.
RangedDirectoryIterator()=default
The default-constructed iterator acts as the 'end' sentinel.
RangedDirectoryIterator & operator++()
Moves the iterator along to the next file.
bool operator==(const RangedDirectoryIterator &other) const noexcept
Returns true if both iterators are in their end/sentinel state, otherwise returns false.
bool operator!=(const RangedDirectoryIterator &other) const noexcept
Returns the inverse of operator==.
const DirectoryEntry & operator*() const noexcept
Return an object containing metadata about the file or folder to which the iterator is currently poin...
Holds an absolute date and time.
const DirectoryEntry & operator*(const DirectoryEntry &e) noexcept
A convenience operator so that the expression *it++ works correctly when it is an instance of RangedD...
RangedDirectoryIterator end(const RangedDirectoryIterator &)
Returns a default-constructed sentinel value.
Type unalignedPointerCast(void *ptr) noexcept
Casts a pointer to another type via void*, which suppresses the cast-align warning which sometimes ar...
RangedDirectoryIterator begin(const RangedDirectoryIterator &it)
Returns the iterator that was passed in.
long long int64
A platform-independent 64-bit integer type.