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 317 of file tools.h.


Constructor & Destructor Documentation

cSafeFile::cSafeFile ( const char *  FileName  ) 

Definition at line 1389 of file tools.c.

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

Here is the call graph for this function:

cSafeFile::~cSafeFile (  ) 

Definition at line 1398 of file tools.c.

References f, fileName, and tempName.


Member Function Documentation

cSafeFile::operator FILE * (  )  [inline]

Definition at line 325 of file tools.h.

bool cSafeFile::Open ( void   ) 

Definition at line 1407 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 1417 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 319 of file tools.h.

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

char* cSafeFile::fileName [private]

Definition at line 320 of file tools.h.

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

char* cSafeFile::tempName [private]

Definition at line 321 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 4 20:01:25 2008 for VDR by  doxygen 1.5.6