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 78 of file config.h.


Constructor & Destructor Documentation

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

Definition at line 89 of file config.h.

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

Definition at line 90 of file config.h.


Member Function Documentation

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

Reimplemented from cListBase.

Definition at line 82 of file config.h.

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

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

Definition at line 91 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 92 of file config.h.

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

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


Member Data Documentation

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

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

Definition at line 81 of file config.h.

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


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

Generated on Tue Nov 4 19:57:55 2008 for VDR by  doxygen 1.5.6