sprint 1-alpha
|
#include <archive.h>
Inherited by sprint::ArchiveInBase, and sprint::ArchiveOut.
Public Member Functions | |
void | Rewind () |
void | setpath (const char *path) |
void | setfilename (const char *file) |
char * | get_full_pathname (char *buffer) |
long | GetCurPos () |
long | SetCurPos (long pos) |
void | DeepLevel () |
void | RaiseLevel () |
long | GetFileSize () |
void | move_to_the_end () |
void | crop_file () |
bool | IsValid () const |
void | printerror (const char *string) |
BOOL | close () |
Chiude il file. | |
UINT | GetCurLine () const |
const char * | GetCurFile () const |
Protected Member Functions | |
BaseArchive * | Push () |
BOOL | Pop () |
bool | IsNested () const |
Protected Attributes | |
char | filename [32] |
only for debug purpose | |
char | relativepath [64] |
increase the path size if necessary | |
BaseArchive * | prev |
Pointer to main file. | |
FILE * | fp |
The File Desctriptor. | |
UINT | curline |
Current Line inside this file. | |
UINT | format |
Archive format (Text, XML, JSON, Binary) | |
int | level |
Nested Level of current line. |
Oggetto base che rappresenta un singolo file di configurazione Siccome i file possono essere gerarchici e includere altri file ogni nodo è uno si questi oggetti