Qt
Internal/Contributor docs for the Qt SDK. Note: These are NOT official API docs; those are found at https://doc.qt.io/
Loading...
Searching...
No Matches
AndroidAbstractFileEngineIterator Class Reference
Inheritance diagram for AndroidAbstractFileEngineIterator:
Collaboration diagram for AndroidAbstractFileEngineIterator:

Public Member Functions

 AndroidAbstractFileEngineIterator (QDirListing::IteratorFlags filters, const QStringList &nameFilters, const QString &path)
QFileInfo currentFileInfo () const override
 The virtual function returns a QFileInfo for the current directory entry.
QString currentFileName () const override
 This pure virtual function returns the name of the current directory entry, excluding the path.
QString currentFilePath () const override
 Returns the path to the current directory entry.
bool advance () override
 This pure virtual function advances the iterator to the next directory entry; if the operation was successful this method returns true, otherwise it returs false.
 AndroidAbstractFileEngineIterator (QDirListing::IteratorFlags filters, const QStringList &nameFilters, const QString &path)
QFileInfo currentFileInfo () const override
 The virtual function returns a QFileInfo for the current directory entry.
QString currentFileName () const override
 This pure virtual function returns the name of the current directory entry, excluding the path.
QString currentFilePath () const override
 Returns the path to the current directory entry.
bool advance () override
 This pure virtual function advances the iterator to the next directory entry; if the operation was successful this method returns true, otherwise it returs false.
Public Member Functions inherited from QAbstractFileEngineIterator
 QAbstractFileEngineIterator (const QString &path, QDir::Filters filters, const QStringList &nameFilters)
 Constructs a QAbstractFileEngineIterator, using the entry filters filters, and wildcard name filters nameFilters.
 QAbstractFileEngineIterator (const QString &path, QDirListing::IteratorFlags filters, const QStringList &nameFilters)
virtual ~QAbstractFileEngineIterator ()
 Destroys the QAbstractFileEngineIterator.
QString path () const
 Returns the path for this iterator.
QStringList nameFilters () const
 Returns the name filters for this iterator.
QDir::Filters filters () const
 Returns the entry filters for this iterator.

Additional Inherited Members

Protected Attributes inherited from QAbstractFileEngineIterator
QFileInfo m_fileInfo

Detailed Description

Definition at line 165 of file qandroidassetsfileenginehandler.cpp.

Constructor & Destructor Documentation

◆ AndroidAbstractFileEngineIterator() [1/2]

AndroidAbstractFileEngineIterator::AndroidAbstractFileEngineIterator ( QDirListing::IteratorFlags filters,
const QStringList & nameFilters,
const QString & path )
inline

Definition at line 168 of file qandroidassetsfileenginehandler.cpp.

References AndroidAbstractFileEngineIterator().

Referenced by AndroidAbstractFileEngineIterator().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ AndroidAbstractFileEngineIterator() [2/2]

AndroidAbstractFileEngineIterator::AndroidAbstractFileEngineIterator ( QDirListing::IteratorFlags filters,
const QStringList & nameFilters,
const QString & path )
inline

Definition at line 168 of file qandroidassetsfileenginehandler.cpp.

Member Function Documentation

◆ advance() [1/2]

bool AndroidAbstractFileEngineIterator::advance ( )
inlineoverridevirtual

This pure virtual function advances the iterator to the next directory entry; if the operation was successful this method returns true, otherwise it returs false.

This function can optionally make use of nameFilters() and filters() to optimize its performance.

Reimplement this function in a subclass to advance the iterator.

Implements QAbstractFileEngineIterator.

Definition at line 195 of file qandroidassetsfileenginehandler.cpp.

◆ advance() [2/2]

bool AndroidAbstractFileEngineIterator::advance ( )
inlineoverridevirtual

This pure virtual function advances the iterator to the next directory entry; if the operation was successful this method returns true, otherwise it returs false.

This function can optionally make use of nameFilters() and filters() to optimize its performance.

Reimplement this function in a subclass to advance the iterator.

Implements QAbstractFileEngineIterator.

Definition at line 195 of file qandroidassetsfileenginehandler.cpp.

◆ currentFileInfo() [1/2]

QFileInfo AndroidAbstractFileEngineIterator::currentFileInfo ( ) const
inlineoverridevirtual

The virtual function returns a QFileInfo for the current directory entry.

This function is provided for convenience. It can also be slightly faster than creating a QFileInfo object yourself, as the object returned by this function might contain cached information that QFileInfo otherwise would have to access through the file engine.

See also
currentFileName()

Reimplemented from QAbstractFileEngineIterator.

Definition at line 176 of file qandroidassetsfileenginehandler.cpp.

References currentFilePath().

Here is the call graph for this function:

◆ currentFileInfo() [2/2]

QFileInfo AndroidAbstractFileEngineIterator::currentFileInfo ( ) const
inlineoverridevirtual

The virtual function returns a QFileInfo for the current directory entry.

This function is provided for convenience. It can also be slightly faster than creating a QFileInfo object yourself, as the object returned by this function might contain cached information that QFileInfo otherwise would have to access through the file engine.

See also
currentFileName()

Reimplemented from QAbstractFileEngineIterator.

Definition at line 176 of file qandroidassetsfileenginehandler.cpp.

◆ currentFileName() [1/2]

QString AndroidAbstractFileEngineIterator::currentFileName ( ) const
inlineoverridevirtual

This pure virtual function returns the name of the current directory entry, excluding the path.

See also
currentFilePath()

Implements QAbstractFileEngineIterator.

Definition at line 181 of file qandroidassetsfileenginehandler.cpp.

◆ currentFileName() [2/2]

QString AndroidAbstractFileEngineIterator::currentFileName ( ) const
inlineoverridevirtual

This pure virtual function returns the name of the current directory entry, excluding the path.

See also
currentFilePath()

Implements QAbstractFileEngineIterator.

Definition at line 181 of file qandroidassetsfileenginehandler.cpp.

◆ currentFilePath() [1/2]

QString AndroidAbstractFileEngineIterator::currentFilePath ( ) const
inlineoverridevirtual

Returns the path to the current directory entry.

It's the same as prepending path() to the return value of currentFileName().

See also
currentFileName()

Reimplemented from QAbstractFileEngineIterator.

Definition at line 188 of file qandroidassetsfileenginehandler.cpp.

Referenced by currentFileInfo().

Here is the caller graph for this function:

◆ currentFilePath() [2/2]

QString AndroidAbstractFileEngineIterator::currentFilePath ( ) const
inlineoverridevirtual

Returns the path to the current directory entry.

It's the same as prepending path() to the return value of currentFileName().

See also
currentFileName()

Reimplemented from QAbstractFileEngineIterator.

Definition at line 188 of file qandroidassetsfileenginehandler.cpp.


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