vdr 2.7.6
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 () override
int Find (const char *s) const
void Sort (bool IgnoreCase=false)
void SortNumerically (void)
virtual void Clear (void) override
Public Member Functions inherited from cVector< char * >
virtual ~cVector ()
char *& At (int Index) const
const char *& operator[] (int Index) const
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 857 of file tools.h.

Constructor & Destructor Documentation

◆ cFileNameList()

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

Definition at line 1649 of file tools.c.

References Load().

Member Function Documentation

◆ Load()

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

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