vdr 2.7.6
|
#include <tools.h>
Public Member Functions | |
cSafeFile (const char *FileName) | |
~cSafeFile () | |
operator FILE * () | |
bool | Open (void) |
bool | Close (void) |
Private Attributes | |
FILE * | f |
char * | fileName |
char * | tempName |
cSafeFile::cSafeFile | ( | const char * | FileName | ) |
cSafeFile::~cSafeFile | ( | ) |
bool cSafeFile::Close | ( | void | ) |
Definition at line 1769 of file tools.c.
References f, fileName, LOG_ERROR_STR, cReadDir::result, and tempName.
Referenced by cSchedules::Dump(), cChannelCamRelations::Save(), cConfig< T >::Save(), cDoneRecordings::Save(), cNestedItemList::Save(), cTheme::Save(), cRecordingInfo::Write(), and cRecording::WriteInfo().
bool cSafeFile::Open | ( | void | ) |
Definition at line 1759 of file tools.c.
References f, fileName, LOG_ERROR_STR, and tempName.
Referenced by cSchedules::Dump(), cChannelCamRelations::Save(), cConfig< T >::Save(), cDoneRecordings::Save(), cNestedItemList::Save(), cTheme::Save(), cRecordingInfo::Write(), and cRecording::WriteInfo().
|
private |
Definition at line 480 of file tools.h.
Referenced by Close(), cSafeFile(), Open(), operator FILE *(), and ~cSafeFile().
|
private |
Definition at line 481 of file tools.h.
Referenced by Close(), cSafeFile(), Open(), and ~cSafeFile().
|
private |
Definition at line 482 of file tools.h.
Referenced by Close(), cSafeFile(), Open(), and ~cSafeFile().