#include <cel_fileutil.h>
Public Member Functions | |
DirectoryListing (const String &inDirName) | |
~DirectoryListing () | |
String | getNextEntry () |
This class enumerates the child files and directories of the specified directory. This class does not report the existance of "." and "..".
The following code illustrates how to use this class:
Celartem::FileUtils::DirectoryListing::DirectoryListing | ( | const String & | inDirName | ) |
This constructor creates a new instance of DirectoryListing class.
inDirName | Specifies the path of the directory to create file list. |
Celartem::FileUtils::DirectoryListing::~DirectoryListing | ( | ) |
Destructor.
String Celartem::FileUtils::DirectoryListing::getNextEntry | ( | ) |
This method returns full path name of the next entry in the directory. If there're no more file/directory entries in the directory, this function returns NullString.