Library: Foundation
Package: Filesystem
Header: Poco/SortedDirectoryIterator.h
The SortedDirectoryIterator class is similar to DirectoryIterator class, but places directories before files and sorts content alphabetically.
Direct Base Classes: DirectoryIterator
All Base Classes: DirectoryIterator
Member Functions: operator ++
Inherited Functions: name, operator !=, operator *, operator ++, operator =, operator ==, operator->, path
Creates the end iterator.
SortedDirectoryIterator(
const std::string & path
);
Creates a directory iterator for the given path.
SortedDirectoryIterator(
const DirectoryIterator & iterator
);
Creates a directory iterator for the given path.
SortedDirectoryIterator(
const File & file
);
Creates a directory iterator for the given file.
SortedDirectoryIterator(
const Path & path
);
Creates a directory iterator for the given path.
virtual ~SortedDirectoryIterator();
Destroys the DirsFirstDirectoryIterator.
virtual SortedDirectoryIterator & operator ++ ();