cSafeFile Class Reference

#include <tools.h>

List of all members.

Public Member Functions

 cSafeFile (const char *FileName)
 ~cSafeFile ()
 operator FILE * ()
bool Open (void)
bool Close (void)

Private Attributes

FILE * f
char * fileName
char * tempName


Detailed Description

Definition at line 227 of file tools.h.


Constructor & Destructor Documentation

cSafeFile::cSafeFile ( const char *  FileName  ) 

Definition at line 1003 of file tools.c.

References f, fileName, MALLOC, ReadLink(), and tempName.

Here is the call graph for this function:

cSafeFile::~cSafeFile (  ) 

Definition at line 1012 of file tools.c.

References f, fileName, and tempName.


Member Function Documentation

cSafeFile::operator FILE * (  )  [inline]

Definition at line 235 of file tools.h.

bool cSafeFile::Open ( void   ) 

Definition at line 1021 of file tools.c.

References f, fileName, LOG_ERROR_STR, and tempName.

Referenced by cSchedules::Cleanup(), cTheme::Save(), and cConfig< cSkyChannel >::Save().

bool cSafeFile::Close ( void   ) 

Definition at line 1031 of file tools.c.

References f, fileName, LOG_ERROR_STR, and tempName.

Referenced by cSchedules::Cleanup(), cTheme::Save(), and cConfig< cSkyChannel >::Save().


Member Data Documentation

FILE* cSafeFile::f [private]

Definition at line 229 of file tools.h.

Referenced by Close(), cSafeFile(), Open(), and ~cSafeFile().

char* cSafeFile::fileName [private]

Definition at line 230 of file tools.h.

Referenced by Close(), cSafeFile(), Open(), and ~cSafeFile().

char* cSafeFile::tempName [private]

Definition at line 231 of file tools.h.

Referenced by Close(), cSafeFile(), Open(), and ~cSafeFile().


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