#include <AP_Dirs.h>
Public Member Functions | |
AP_Dir (const AP_String &base, const AP_String &dir_filter, const AP_String &file_filter) | |
AP_String | base (void) const |
AP_String | basename (void) const |
const AP_FileList & | files (void) const |
AP_Dir | getDir (const AP_String &pattern) |
AP_File | getFile (const AP_String &pattern) |
AP_FileList | getFileRecursive (const AP_String &file_filter, const AP_Sint32 level) |
AP_Sint32 | operator< (const AP_Dir &dir) const |
const AP_DirList & | subdirs (void) const |
AP_Bool | valid (void) const |
~AP_Dir (void) | |
Private Attributes | |
AP_String | _m_base |
AP_FileList | _m_files |
AP_DirList | _m_subdirs |
AP_Bool | _m_valid |
~AP_Dir | ( | void | ) |
AP_String base | ( | void | ) | const [inline] |
AP_String basename | ( | void | ) | const |
const AP_FileList& files | ( | void | ) | const [inline] |
AP_FileList getFileRecursive | ( | const AP_String & | file_filter, | |
const AP_Sint32 | level | |||
) |
const AP_DirList& subdirs | ( | void | ) | const [inline] |
AP_Bool valid | ( | void | ) | const [inline] |
AP_FileList _m_files [private] |
AP_DirList _m_subdirs [private] |