#include <organizer.h>

Public Types | |
| enum | { ENTRIES, BLOCK, SERIES } |
Public Member Functions | |
| virtual int | writeentry (void *) |
| virtual int | writeblock (void *) |
| virtual int | readblock (void *) |
| virtual char * | describe () |
| AUXFile (int t) | |
| virtual | ~AUXFile () |
| int | close (int zip=0, bool bg=true) |
| int | open (char *name, int format=LFile::O_WriteNew) |
| int | reopen () |
| int | write (void *p, int zip=1, bool bg=true) |
| int | read (void *p) |
| void | setcount (int n) |
Static Public Member Functions | |
| static const char * | Skip (const char *str, const char *blank) |
| static const char * | SkipBlanks (const char *str) |
| static void | insertindex (char *ext, char *n, int c) |
Public Attributes | |
| LFile * | f |
| int | type |
| int | count |
| char | fname [1000] |
| char | zipname [1000] |
| char | extname [1000] |
Static Private Member Functions | |
| static int | lastoccur (char *n, char c) |
Definition at line 29 of file organizer.h.
| anonymous enum |
| AUXFile::AUXFile | ( | int | t | ) | [inline] |
Definition at line 39 of file organizer.h.
| virtual AUXFile::~AUXFile | ( | ) | [inline, virtual] |
| int AUXFile::close | ( | int | zip = 0, |
|
| bool | bg = true | |||
| ) |
Definition at line 17 of file organizer.cpp.
References LFile::BZipFile(), LFile::Close(), DUMP, ENTRIES, extname, f, fname, LFile::GZipFile(), SERIES, and type.
Referenced by ~AUXFile().
| virtual char* AUXFile::describe | ( | ) | [inline, virtual] |
Reimplemented in CNFile, PropFile, CNFile, POSCARFile, LAMMPSFile, MDCASKconFile, MDCASKinputFile, and PropFile.
Definition at line 36 of file organizer.h.
| void AUXFile::insertindex | ( | char * | ext, | |
| char * | n, | |||
| int | c | |||
| ) | [static] |
| int AUXFile::lastoccur | ( | char * | n, | |
| char | c | |||
| ) | [static, private] |
| int AUXFile::open | ( | char * | name, | |
| int | format = LFile::O_WriteNew | |||
| ) |
Definition at line 37 of file organizer.cpp.
References BLOCK, count, describe(), extname, f, fname, HIM, insertindex(), NOR, NULL, LFile::Open(), SERIES, LFile::SubHomeDir(), type, and zipname.
| int AUXFile::read | ( | void * | p | ) |
Definition at line 146 of file organizer.cpp.
References BLOCK, LFile::Close(), f, fname, HIM, NOR, NULL, readblock(), and type.
| virtual int AUXFile::readblock | ( | void * | ) | [inline, virtual] |
Reimplemented in CNFile, CNFile, POSCARFile, LAMMPSFile, AVGCNFile, MDCASKconFile, and MDCASKinputFile.
Definition at line 35 of file organizer.h.
Referenced by read().
| int AUXFile::reopen | ( | ) |
Definition at line 83 of file organizer.cpp.
References LFile::Close(), describe(), extname, f, HIM, NOR, NULL, LFile::O_WriteNew, and LFile::Open().
Referenced by write().
| void AUXFile::setcount | ( | int | n | ) | [inline] |
| static const char* AUXFile::Skip | ( | const char * | str, | |
| const char * | blank | |||
| ) | [inline, static] |
| static const char* AUXFile::SkipBlanks | ( | const char * | str | ) | [inline, static] |
| int AUXFile::write | ( | void * | p, | |
| int | zip = 1, |
|||
| bool | bg = true | |||
| ) |
Definition at line 91 of file organizer.cpp.
References BLOCK, LFile::BZipFile(), LFile::Close(), count, DUMP, extname, f, fname, LFile::GZipFile(), HIM, insertindex(), NOR, NULL, reopen(), SERIES, type, writeblock(), and writeentry().
| virtual int AUXFile::writeblock | ( | void * | ) | [inline, virtual] |
Reimplemented in CNFile, CNFile, POSCARFile, LAMMPSFile, AVGCNFile, MDCASKconFile, and MDCASKinputFile.
Definition at line 34 of file organizer.h.
Referenced by write().
| virtual int AUXFile::writeentry | ( | void * | ) | [inline, virtual] |
Reimplemented in PropFile, and PropFile.
Definition at line 33 of file organizer.h.
Referenced by write().
| int AUXFile::count |
| char AUXFile::extname[1000] |
| char AUXFile::fname[1000] |
| int AUXFile::type |
| char AUXFile::zipname[1000] |
1.5.7.1