HDK
|
#include <UT_PathFile.h>
Public Member Functions | |
UT_PathFile () | |
virtual | ~UT_PathFile () |
void | setSearchPath (int path_id, const char *pattern) |
void | applyStandardFilter () |
const char * | getSearchPattern () |
const char * | getDefaultDir () |
int | getDefaultDirIndex () |
int | getHomeDirIndex () |
bool | getLine (UT_WorkBuffer &wbuf) |
int | getCurrentLineNumber () |
const char * | getCurrentFileName () |
int | getDirCount () const |
const char * | getDir (int i) const |
int | getFileInfoCount (int filtered=1) const |
UT_PathFileInfo * | getFileInfo (int i, int filtered=1) const |
UT_PathFileInfo * | getFileInfo (char const *file_path) const |
void | appendFileInfo (UT_PathFileInfo *info) |
void | clearFileInfoList () |
void | sortFileInfos (int(*compare)(UT_PathFileInfo *const *t1, UT_PathFileInfo *const *t2)) |
virtual UT_PathFileInfo * | createFileInfo () |
UT_PathFileInfo * | appendFileInfo (const char *fullpath, int level) |
void | removeFileInfo (int i) |
void | removeFileInfo (UT_PathFileInfo *) |
void | removeFileInfo (const char *fullpath) |
Protected Member Functions | |
void | clearFileList () |
void | computeFileList () |
void | addMatchingFiles (char *fullpattern, int level) |
void | removeMatchingFiles (char *fullpattern, int level) |
Protected Attributes | |
unsigned int | myBusyFlag:1 |
unsigned int | myFilesFoundFlag:1 |
Friends | |
int | utAddMatchingFiles (const char *file, void *data) |
int | utRemoveMatchingFiles (const char *file, void *data) |
Definition at line 35 of file UT_PathFile.h.
UT_PathFile::UT_PathFile | ( | ) |
|
virtual |
|
inline |
Definition at line 76 of file UT_PathFile.h.
UT_PathFileInfo* UT_PathFile::appendFileInfo | ( | const char * | fullpath, |
int | level | ||
) |
void UT_PathFile::applyStandardFilter | ( | ) |
|
inline |
Definition at line 80 of file UT_PathFile.h.
|
protected |
|
protected |
|
virtual |
const char* UT_PathFile::getCurrentFileName | ( | ) |
|
inline |
Definition at line 62 of file UT_PathFile.h.
|
inline |
Definition at line 52 of file UT_PathFile.h.
|
inline |
Definition at line 53 of file UT_PathFile.h.
const char* UT_PathFile::getDir | ( | int | i | ) | const |
int UT_PathFile::getDirCount | ( | ) | const |
UT_PathFileInfo* UT_PathFile::getFileInfo | ( | int | i, |
int | filtered = 1 |
||
) | const |
UT_PathFileInfo* UT_PathFile::getFileInfo | ( | char const * | file_path | ) | const |
|
inline |
Definition at line 54 of file UT_PathFile.h.
bool UT_PathFile::getLine | ( | UT_WorkBuffer & | wbuf | ) |
|
inline |
Definition at line 50 of file UT_PathFile.h.
void UT_PathFile::removeFileInfo | ( | UT_PathFileInfo * | ) |
void UT_PathFile::removeFileInfo | ( | const char * | fullpath | ) |
void UT_PathFile::sortFileInfos | ( | int(*)(UT_PathFileInfo *const *t1, UT_PathFileInfo *const *t2) | compare | ) |
|
protected |
Definition at line 101 of file UT_PathFile.h.
|
protected |
Definition at line 101 of file UT_PathFile.h.