#include <AtomicFile.H>
Inheritance diagram for AtomicFile:
Public Member Functions | |
void | open (const char *name, std::ios::openmode mode, int prot=0644) throw () |
void | close () throw () |
~AtomicFile () throw () | |
Static Public Member Functions | |
static void | cleanup (const char *dirname=".") throw () |
Static Public Attributes | |
static const char | reserved_char = ';' |
Private Attributes | |
char * | tempname |
char * | realname |
|
Definition at line 160 of file AtomicFile.C. References FS::FdStreamBase::close(), realname, and tempname. |
|
Definition at line 177 of file AtomicFile.C. References NEW_PTRFREE_ARRAY, opendir(), PathnameSep, reserved_char, and AFStaticStuff::suffix. Referenced by main(). |
|
Reimplemented from FS::FdStreamBase. Definition at line 112 of file AtomicFile.C. References FS::FdStreamBase::close(), Basics::errno_Text(), FdCache::flush(), realname, and tempname. Referenced by main(). |
|
Definition at line 58 of file AtomicFile.C. References FdCache::close(), NEW_PTRFREE_ARRAY, FS::OFdStream::open(), FdCache::open(), AFStaticStuff::suffix, and AFStaticStuff::suffixlen. Referenced by main(), CacheS::SetMPKsToWeed(), CacheS::SetStableDeleting(), Test(), CacheS::WriteHitFilter(), Weeder::WriteMiscVars(), and Weeder::WriteWeeded(). |
|
Definition at line 43 of file AtomicFile.H. Referenced by close(), and ~AtomicFile(). |
|
Definition at line 45 of file AtomicFile.C. Referenced by AFStaticStuff::AFStaticStuff(), cleanup(), and Weeder::PruneGraphLog(). |
|
Definition at line 43 of file AtomicFile.H. Referenced by close(), and ~AtomicFile(). |