vdr  1.7.31
Public Member Functions | Private Member Functions | Private Attributes | List of all members
cConfig< T > Class Template Reference

#include <config.h>

Public Member Functions

 cConfig (void)
virtual ~cConfig ()
const char * FileName (void)
bool Load (const char *FileName=NULL, bool AllowComments=false, bool MustExist=false)
bool Save (void)
 cConfig (void)
virtual ~cConfig ()
const char * FileName (void)
bool Load (const char *FileName=NULL, bool AllowComments=false, bool MustExist=false)
bool Save (void)
- Public Member Functions inherited from cList< T >
T * Get (int Index) const
T * First (void) const
T * Last (void) const
T * Prev (const T *object) const
T * Next (const T *object) const
T * Get (int Index) const
T * First (void) const
T * Last (void) const
T * Prev (const T *object) const
T * Next (const T *object) const
- Public Member Functions inherited from cListBase
virtual ~cListBase ()
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)
virtual void Clear (void)
int Count (void) const
void Sort (void)
virtual ~cListBase ()
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)
virtual void Clear (void)
int Count (void) const
void Sort (void)

Private Member Functions

void Clear (void)
void Clear (void)

Private Attributes

char * fileName
bool allowComments

Additional Inherited Members

- Protected Member Functions inherited from cListBase
 cListBase (void)
 cListBase (void)
- Protected Attributes inherited from cListBase
cListObjectobjects
cListObjectlastObject
int count

Detailed Description

template<class T>
class cConfig< T >

Definition at line 104 of file config.h.

Constructor & Destructor Documentation

template<class T>
cConfig< T >::cConfig ( void  )
inline

Definition at line 115 of file config.h.

template<class T>
virtual cConfig< T >::~cConfig ( )
inlinevirtual

Definition at line 116 of file config.h.

template<class T>
cConfig< T >::cConfig ( void  )
inline

Definition at line 115 of file include/vdr/config.h.

template<class T>
virtual cConfig< T >::~cConfig ( )
inlinevirtual

Definition at line 116 of file include/vdr/config.h.

Member Function Documentation

template<class T>
void cConfig< T >::Clear ( void  )
inlineprivate

Definition at line 108 of file config.h.

Referenced by cConfig< cDiseqc >::Clear(), and cConfig< cDiseqc >::Load().

template<class T>
void cConfig< T >::Clear ( void  )
inlineprivate

Definition at line 108 of file include/vdr/config.h.

template<class T>
const char* cConfig< T >::FileName ( void  )
inline

Definition at line 117 of file config.h.

Referenced by cConfig< cDiseqc >::Load().

template<class T>
const char* cConfig< T >::FileName ( void  )
inline

Definition at line 117 of file include/vdr/config.h.

template<class T>
bool cConfig< T >::Load ( const char *  FileName = NULL,
bool  AllowComments = false,
bool  MustExist = false 
)
inline

Reimplemented in cChannels, and cChannels.

Definition at line 118 of file include/vdr/config.h.

template<class T>
bool cConfig< T >::Load ( const char *  FileName = NULL,
bool  AllowComments = false,
bool  MustExist = false 
)
inline

Reimplemented in cChannels, and cChannels.

Definition at line 118 of file config.h.

Referenced by cInterface::LearnKeys(), and main().

template<class T>
bool cConfig< T >::Save ( void  )
inline
template<class T>
bool cConfig< T >::Save ( void  )
inline

Reimplemented in cSetup, and cSetup.

Definition at line 165 of file include/vdr/config.h.

Member Data Documentation

template<class T>
bool cConfig< T >::allowComments
private

Definition at line 107 of file config.h.

Referenced by cConfig< cDiseqc >::Load().

template<class T>
char * cConfig< T >::fileName
private

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