vdr 2.7.2
|
#include <config.h>
Public Member Functions | |
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 |
![]() | |
cList (const char *NeedsLocking=NULL) | |
const T * | Get (int Index) const |
const T * | First (void) const |
const T * | Last (void) const |
const T * | Prev (const T *Object) const |
const T * | Next (const T *Object) const |
T * | Get (int Index) |
T * | First (void) |
T * | Last (void) |
T * | Prev (const T *Object) |
T * | Next (const T *Object) |
![]() | |
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 cListObject * | Get (int Index) const |
cListObject * | Get (int Index) |
int | Count (void) const |
void | Sort (void) |
Private Member Functions | |
void | Clear (void) |
Private Attributes | |
char * | fileName |
bool | allowComments |
Additional Inherited Members | |
![]() | |
cListBase (const char *NeedsLocking=NULL) | |
![]() | |
cListObject * | objects |
cListObject * | lastObject |
int | count |
cStateLock | stateLock |
const char * | needsLocking |
bool | useGarbageCollector |
Definition at line 122 of file config.h.
References cConfig< T >::fileName.
Definition at line 123 of file config.h.
References cConfig< T >::fileName.
|
inlineprivatevirtual |
Reimplemented from cListBase.
Definition at line 115 of file config.h.
References cListBase::Clear(), and cConfig< T >::fileName.
Referenced by cConfig< T >::Load().
|
inline |
Definition at line 124 of file config.h.
References cConfig< T >::fileName.
Referenced by cConfig< T >::Load().
|
inline |
Definition at line 125 of file config.h.
References cListBase::Add(), cConfig< T >::allowComments, cConfig< T >::Clear(), esyslog, cConfig< T >::FileName(), cConfig< T >::fileName, isempty(), isyslog, LOG_ERROR_STR, cReadLine::Read(), and stripspace().
Referenced by CamResponsesLoad(), cInterface::LearnKeys(), cDiseqcs::Load(), cScrs::Load(), and main().
|
inline |
Definition at line 172 of file config.h.
References cSafeFile::Close(), cConfig< T >::fileName, cList< T >::First(), and cSafeFile::Open().
Referenced by cInterface::LearnKeys(), and main().
|
private |
Definition at line 114 of file config.h.
Referenced by cConfig< T >::Load().
|
private |
Definition at line 113 of file config.h.
Referenced by cConfig< T >::cConfig(), cConfig< T >::Clear(), cConfig< T >::FileName(), cConfig< T >::Load(), cConfig< T >::Save(), and cConfig< T >::~cConfig().