vdr
2.2.0
|
#include <tools.h>
Public Member Functions | |
cFileNameList (const char *Directory=NULL, bool DirsOnly=false) | |
bool | Load (const char *Directory, bool DirsOnly=false) |
![]() | |
cStringList (int Allocated=10) | |
virtual | ~cStringList () |
int | Find (const char *s) const |
void | Sort (bool IgnoreCase=false) |
virtual void | Clear (void) |
![]() | |
cVector (int Allocated=10) | |
virtual | ~cVector () |
char * & | At (int Index) const |
const char * & | operator[] (int Index) const |
char * & | operator[] (int Index) |
int | IndexOf (const char * &Data) |
int | Size (void) const |
virtual void | Insert (char * Data, int Before=0) |
bool | InsertUnique (char * Data, int Before=0) |
virtual void | Append (char * Data) |
bool | AppendUnique (char * Data) |
virtual void | Remove (int Index) |
bool | RemoveElement (const char * &Data) |
void | Sort (__compar_fn_t Compare) |
cFileNameList::cFileNameList | ( | const char * | Directory = NULL , |
bool | DirsOnly = false |
||
) |
bool cFileNameList::Load | ( | const char * | Directory, |
bool | DirsOnly = false |
||
) |
Definition at line 1508 of file tools.c.
References AddDirectory(), cFile::files, LOG_ERROR_STR, cFile::maxFiles, cReadDir::Next(), and cReadDir::Ok().