vdr 2.6.6
Public Member Functions | List of all members
cFileNameList Class Reference

#include <tools.h>

Public Member Functions

 cFileNameList (const char *Directory=NULL, bool DirsOnly=false)
 
bool Load (const char *Directory, bool DirsOnly=false)
 
- Public Member Functions inherited from cStringList
 cStringList (int Allocated=10)
 
virtual ~cStringList ()
 
int Find (const char *s) const
 
void Sort (bool IgnoreCase=false)
 
void SortNumerically (void)
 
virtual void Clear (void)
 
- Public Member Functions inherited from cVector< char * >
 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)
 

Detailed Description

Definition at line 870 of file tools.h.

Constructor & Destructor Documentation

◆ cFileNameList()

cFileNameList::cFileNameList ( const char * Directory = NULL,
bool DirsOnly = false )

Definition at line 1627 of file tools.c.

Member Function Documentation

◆ Load()

bool cFileNameList::Load ( const char * Directory,
bool DirsOnly = false )

Definition at line 1632 of file tools.c.

References AddDirectory(), cReadDir::d, and LOG_ERROR_STR.


The documentation for this class was generated from the following files: