LMMS
Loading...
Searching...
No Matches
juce::DirectoryEntry Class Referencefinal

#include <juce_RangedDirectoryIterator.h>

Public Member Functions

File getFile () const
Time getModificationTime () const
Time getCreationTime () const
int64 getFileSize () const
bool isDirectory () const
bool isHidden () const
bool isReadOnly () const
float getEstimatedProgress () const

Private Attributes

std::weak_ptr< DirectoryIteratoriterator
File file
Time modTime
Time creationTime
int64 fileSize = 0
bool directory = false
bool hidden = false
bool readOnly = false

Friends

class RangedDirectoryIterator

Detailed Description

Describes the attributes of a file or folder.

@tags{Core}

Member Function Documentation

◆ getCreationTime()

Time juce::DirectoryEntry::getCreationTime ( ) const
inline

The time at which the item was created.

◆ getEstimatedProgress()

float juce::DirectoryEntry::getEstimatedProgress ( ) const

The estimated proportion of the range that has been visited by the iterator, from 0.0 to 1.0.

◆ getFile()

File juce::DirectoryEntry::getFile ( ) const
inline

The path to a file or folder.

◆ getFileSize()

int64 juce::DirectoryEntry::getFileSize ( ) const
inline

The size of the item.

◆ getModificationTime()

Time juce::DirectoryEntry::getModificationTime ( ) const
inline

The time at which the item was last modified.

◆ isDirectory()

bool juce::DirectoryEntry::isDirectory ( ) const
inline

True if the item is a directory, false otherwise.

◆ isHidden()

bool juce::DirectoryEntry::isHidden ( ) const
inline

True if the item is hidden, false otherwise.

◆ isReadOnly()

bool juce::DirectoryEntry::isReadOnly ( ) const
inline

True if the item is read-only, false otherwise.

◆ RangedDirectoryIterator

friend class RangedDirectoryIterator
friend

Member Data Documentation

◆ creationTime

Time juce::DirectoryEntry::creationTime
private

◆ directory

bool juce::DirectoryEntry::directory = false
private

◆ file

File juce::DirectoryEntry::file
private

◆ fileSize

int64 juce::DirectoryEntry::fileSize = 0
private

◆ hidden

bool juce::DirectoryEntry::hidden = false
private

◆ iterator

std::weak_ptr<DirectoryIterator> juce::DirectoryEntry::iterator
private

◆ modTime

Time juce::DirectoryEntry::modTime
private

◆ readOnly

bool juce::DirectoryEntry::readOnly = false
private

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