cConfig< T > Class Template Reference

#include <config.h>

Inheritance diagram for cConfig< T >:

Inheritance graph
[legend]
Collaboration diagram for cConfig< T >:

Collaboration graph
[legend]

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)

Private Member Functions

void Clear (void)

Private Attributes

char * fileName
bool allowComments


Detailed Description

template<class T>
class cConfig< T >

Definition at line 77 of file config.h.


Constructor & Destructor Documentation

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

Definition at line 88 of file config.h.

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

Definition at line 89 of file config.h.


Member Function Documentation

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

Reimplemented from cListBase.

Definition at line 81 of file config.h.

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

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

Definition at line 90 of file config.h.

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

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

Reimplemented in cChannels.

Definition at line 91 of file config.h.

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

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

Reimplemented in cSetup.

Definition at line 139 of file config.h.

Referenced by cCuttingThread::Action(), cInterface::LearnKeys(), main(), cReplayControl::MarkMove(), and cReplayControl::MarkToggle().


Member Data Documentation

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

Definition at line 79 of file config.h.

Referenced by cConfig< cSkyChannel >::cConfig(), cConfig< cSkyChannel >::Clear(), cConfig< cSkyChannel >::FileName(), cConfig< cSkyChannel >::Load(), cConfig< cSkyChannel >::Save(), and cConfig< cSkyChannel >::~cConfig().

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

Definition at line 80 of file config.h.

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


The documentation for this class was generated from the following file:
Generated on Tue Nov 6 20:06:35 2007 for VDR by  doxygen 1.5.3-20071008