#include <FileList.h>
Public Types | |
| typedef std::list < std::string > | ListType |
Public Member Functions | |
| FileList (const std::string &directory, const std::string &filter="*.*", bool fullPath=true, bool recurse=false) | |
| virtual | ~FileList () |
| bool | getStatus () |
| ListType & | getFiles () |
Protected Member Functions | |
| bool | readFiles (const std::string &directory, const std::string &filter, bool fullPath) |
| bool | addAllFiles (const std::string &baseDir, const std::string &directory, const std::string &filter, bool fullPath) |
Protected Attributes | |
| ListType | files_ |
| bool | status_ |
Definition at line 27 of file FileList.h.
| typedef std::list<std::string> FileList::ListType |
Definition at line 30 of file FileList.h.
| FileList::FileList | ( | const std::string & | directory, | |
| const std::string & | filter = "*.*", |
|||
| bool | fullPath = true, |
|||
| bool | recurse = false | |||
| ) |
| FileList::~FileList | ( | ) | [virtual] |
Definition at line 53 of file FileList.cpp.
| bool FileList::getStatus | ( | ) |
Definition at line 103 of file FileList.cpp.
References status_.
Referenced by addAllFiles(), SaveSelectDialog::display(), and ServerWebHandler::LogFileHandler::processRequest().
| ListType& FileList::getFiles | ( | ) | [inline] |
Definition at line 38 of file FileList.h.
References files_.
Referenced by addAllFiles(), GLWImageList::addDirectory(), SaveSelectDialog::display(), LUAScriptHook::loadHooks(), ModFiles::loadModDir(), ModFiles::loadModFiles(), and ServerWebHandler::LogFileHandler::processRequest().
| bool FileList::readFiles | ( | const std::string & | directory, | |
| const std::string & | filter, | |||
| bool | fullPath | |||
| ) | [protected] |
Definition at line 108 of file FileList.cpp.
References files_, HANDLE(), and NULL.
Referenced by FileList().
| bool FileList::addAllFiles | ( | const std::string & | baseDir, | |
| const std::string & | directory, | |||
| const std::string & | filter, | |||
| bool | fullPath | |||
| ) | [protected] |
Definition at line 58 of file FileList.cpp.
References files_, getFiles(), getStatus(), and MIN.
Referenced by FileList().
ListType FileList::files_ [protected] |
bool FileList::status_ [protected] |
1.5.3