vdr 2.7.6
cStringList Class Reference

#include <tools.h>

Public Member Functions

 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 * >
 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 838 of file tools.h.

Constructor & Destructor Documentation

◆ cStringList()

cStringList::cStringList ( int Allocated = 10)
inline

Definition at line 840 of file tools.h.

References cVector< char * >::cVector().

◆ ~cStringList()

cStringList::~cStringList ( )
overridevirtual

Definition at line 1625 of file tools.c.

References Clear().

Member Function Documentation

◆ Clear()

void cStringList::Clear ( void )
overridevirtual

◆ Find()

int cStringList::Find ( const char * s) const

Definition at line 1630 of file tools.c.

References cVector< char * >::At(), and cVector< char * >::Size().

Referenced by AddRecordingFolders().

◆ Sort()

void cStringList::Sort ( bool IgnoreCase = false)
inline

◆ SortNumerically()

void cStringList::SortNumerically ( void )
inline

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