vdr  2.2.0
Public Member Functions | List of all members
cStringList Class Reference

#include <tools.h>

Public Member Functions

 cStringList (int Allocated=10)
 
virtual ~cStringList ()
 
int Find (const char *s) const
 
void Sort (bool IgnoreCase=false)
 
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 624 of file tools.h.

Constructor & Destructor Documentation

cStringList::cStringList ( int  Allocated = 10)
inline

Definition at line 626 of file tools.h.

cStringList::~cStringList ( )
virtual

Definition at line 1479 of file tools.c.

Member Function Documentation

void cStringList::Clear ( void  )
virtual

Reimplemented from cVector< char * >.

Definition at line 1493 of file tools.c.

References cVector< T >::Clear().

Referenced by cArgs::ReadDirectory().

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

Definition at line 1484 of file tools.c.

Referenced by AddRecordingFolders(), and I18nSetLocale().

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

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