Main Page | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Class Members | File Members

Defaults Class Reference

#include <defaults.h>

List of all members.

Public Member Functions

 Defaults ()
 Defaults (char *filename)
virtual ~Defaults ()
int load ()
int save ()
int load_string (char *string)
int save_string (char *&string)
void save_stringfile (StringFile *file)
void load_stringfile (StringFile *file)
int update (char *name, Freq value)
int update (char *name, double value)
int update (char *name, float value)
int update (char *name, int32_t value)
int update (char *name, int64_t value)
int update (char *name, char *value)
double get (char *name, double default_)
float get (char *name, float default_)
int32_t get (char *name, int32_t default_)
int64_t get (char *name, int64_t default_)
char * get (char *name, char *default_)

Public Attributes

char * names [1024]
char * values [1024]
int total
char filename [1024]


Detailed Description

Definition at line 13 of file defaults.h.


Constructor & Destructor Documentation

Defaults::Defaults  ) 
 

Definition at line 7 of file defaults.C.

Defaults::Defaults char *  filename  ) 
 

Definition at line 13 of file defaults.C.

Defaults::~Defaults  )  [virtual]
 

Definition at line 22 of file defaults.C.


Member Function Documentation

char * Defaults::get char *  name,
char *  default_
 

Definition at line 138 of file defaults.C.

int64_t Defaults::get char *  name,
int64_t  default_
 

Definition at line 100 of file defaults.C.

int32_t Defaults::get char *  name,
int32_t  default_
 

Definition at line 88 of file defaults.C.

float Defaults::get char *  name,
float  default_
 

Definition at line 126 of file defaults.C.

double Defaults::get char *  name,
double  default_
 

Definition at line 114 of file defaults.C.

int Defaults::load  ) 
 

Definition at line 31 of file defaults.C.

int Defaults::load_string char *  string  ) 
 

Definition at line 69 of file defaults.C.

void Defaults::load_stringfile StringFile file  ) 
 

Definition at line 38 of file defaults.C.

int Defaults::save  ) 
 

Definition at line 61 of file defaults.C.

int Defaults::save_string char *&  string  ) 
 

Definition at line 77 of file defaults.C.

void Defaults::save_stringfile StringFile file  ) 
 

Definition at line 53 of file defaults.C.

int Defaults::update char *  name,
char *  value
 

Definition at line 179 of file defaults.C.

int Defaults::update char *  name,
int64_t  value
 

Definition at line 172 of file defaults.C.

int32_t Defaults::update char *  name,
int32_t  value
 

Definition at line 165 of file defaults.C.

int Defaults::update char *  name,
float  value
 

Definition at line 158 of file defaults.C.

int Defaults::update char *  name,
double  value
 

Definition at line 151 of file defaults.C.

int Defaults::update char *  name,
Freq  value
 


Member Data Documentation

char Defaults::filename[1024]
 

Definition at line 42 of file defaults.h.

char* Defaults::names[1024]
 

Definition at line 39 of file defaults.h.

int Defaults::total
 

Definition at line 41 of file defaults.h.

char* Defaults::values[1024]
 

Definition at line 40 of file defaults.h.


The documentation for this class was generated from the following files:
Generated on Sun Jan 8 13:26:38 2006 for Guicast-svn by  doxygen 1.4.4