vdr  1.7.27
Public Member Functions | Private Member Functions | Private Attributes
cConfig< T > Class Template Reference

#include <config.h>

List of all members.

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)

Private Member Functions

void Clear (void)
void Clear (void)

Private Attributes

char * fileName
bool allowComments

Detailed Description

template<class T>
class cConfig< T >

Definition at line 95 of file config.h.


Constructor & Destructor Documentation

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

Definition at line 106 of file config.h.

template<class T>
virtual cConfig< T >::~cConfig ( ) [inline, virtual]

Definition at line 107 of file config.h.

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

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

template<class T>
virtual cConfig< T >::~cConfig ( ) [inline, virtual]

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


Member Function Documentation

template<class T>
void cConfig< T >::Clear ( void  ) [inline, private, virtual]

Reimplemented from cListBase.

Definition at line 99 of file config.h.

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

template<class T>
void cConfig< T >::Clear ( void  ) [inline, private, virtual]

Reimplemented from cListBase.

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

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

Definition at line 108 of file config.h.

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

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

Definition at line 108 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 109 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 109 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 156 of file include/vdr/config.h.


Member Data Documentation

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

Definition at line 98 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: