vdr 2.7.3
cSources Class Reference

#include <sources.h>

Public Member Functions

cSourceGet (int Code)
 
bool ContainsSourceType (char SourceType)
 
- Public Member Functions inherited from cConfig< cSource >
 cConfig (const char *NeedsLocking=NULL)
 
virtual ~cConfig ()
 
const char * FileName (void)
 
bool Load (const char *FileName=NULL, bool AllowComments=false, bool MustExist=false)
 
bool Save (void) const
 
- Public Member Functions inherited from cList< cSource >
 cList (const char *NeedsLocking=NULL)
 
const cSourceGet (int Index) const
 
cSourceGet (int Index)
 
const cSourceFirst (void) const
 
cSourceFirst (void)
 
const cSourceLast (void) const
 
cSourceLast (void)
 
const cSourcePrev (const cSource *Object) const
 
cSourcePrev (const cSource *Object)
 
const cSourceNext (const cSource *Object) const
 
cSourceNext (const cSource *Object)
 
- Public Member Functions inherited from cListBase
virtual ~cListBase ()
 
bool Lock (cStateKey &StateKey, bool Write=false, int TimeoutMs=0) const
 
void SetSyncStateKey (cStateKey &StateKey)
 
void SetUseGarbageCollector (void)
 
void SetExplicitModify (void)
 
void SetModified (void)
 
void Add (cListObject *Object, cListObject *After=NULL)
 
void Ins (cListObject *Object, cListObject *Before=NULL)
 
void Del (cListObject *Object, bool DeleteObject=true)
 
virtual void Move (int From, int To)
 
void Move (cListObject *From, cListObject *To)
 
bool Contains (const cListObject *Object) const
 
const cListObjectGet (int Index) const
 
cListObjectGet (int Index)
 
int Count (void) const
 
void Sort (void)
 

Additional Inherited Members

- Protected Member Functions inherited from cListBase
 cListBase (const char *NeedsLocking=NULL)
 
- Protected Attributes inherited from cListBase
cListObjectobjects
 
cListObjectlastObject
 
int count
 
cStateLock stateLock
 
const char * needsLocking
 
bool useGarbageCollector
 

Detailed Description

Definition at line 62 of file sources.h.

Member Function Documentation

◆ ContainsSourceType()

bool cSources::ContainsSourceType ( char SourceType)

Definition at line 125 of file sources.c.

References cList< cSource >::First(), cList< cSource >::Next(), and cSource::ToChar().

◆ Get()

cSource * cSources::Get ( int Code)

Definition at line 116 of file sources.c.

References cList< cSource >::First(), and cList< cSource >::Next().


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