sprint 1-alpha
Public Member Functions | Protected Member Functions | Protected Attributes
sprint::BaseArchive Class Reference

#include <archive.h>

Inherited by sprint::ArchiveInBase, and sprint::ArchiveOut.

List of all members.

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

BaseArchivePush ()
BOOL Pop ()
bool IsNested () const

Protected Attributes

char filename [32]
 only for debug purpose
char relativepath [64]
 increase the path size if necessary
BaseArchiveprev
 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.

Detailed Description

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


The documentation for this class was generated from the following file:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Defines