Home

Dokumentation

Impressum

Dokumentation VDR
 

Main Page   Class Hierarchy   Alphabetical List   Data Structures   File List   Data Fields   Globals  

cSafeFile Class Reference

#include <tools.h>


Detailed Description

File handling (safe).

Definition at line 119 of file tools.h.

Public Methods

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

Private Attributes

FILE * f
char * fileName
char * tempName


Constructor & Destructor Documentation

cSafeFile::cSafeFile const char *    FileName
 

Definition at line 645 of file tools.c.

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

cSafeFile::~cSafeFile  
 

Definition at line 654 of file tools.c.


Member Function Documentation

bool cSafeFile::Close void   
 

Definition at line 673 of file tools.c.

References f, and LOG_ERROR_STR.

Referenced by cSIProcessor::Action(), and cConfig< cDiseqc >::Save().

bool cSafeFile::Open void   
 

Definition at line 663 of file tools.c.

References f, fileName, LOG_ERROR_STR, and tempName.

Referenced by cSIProcessor::Action(), and cConfig< cDiseqc >::Save().

cSafeFile::operator FILE *   [inline]
 

Definition at line 127 of file tools.h.


Field Documentation

FILE* cSafeFile::f [private]
 

Definition at line 121 of file tools.h.

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

char* cSafeFile::fileName [private]
 

Definition at line 122 of file tools.h.

Referenced by cSafeFile(), and Open().

char* cSafeFile::tempName [private]
 

Definition at line 123 of file tools.h.

Referenced by cSafeFile(), and Open().


The documentation for this class was generated from the following files:
Generated on Wed Feb 5 23:31:53 2003 for VDR by doxygen1.3-rc2