Config Class Reference

Configuration reading for the main polywell simulation application. More...

#include <config.hpp>

List of all members.

Public Member Functions

void reg_num (const char *group, const char *name, prec_t deflt=0.0)
void reg_vect3d (const char *group, const char *name, const vect3d &dflt=vect3d(0, 0, 0))
void reg_bool (const char *group, const char *name, bool dflt=false)
void reg_enum (const char *group, const char *name, const char *dflt,...)
void reg_str (const char *group, const char *name, const char *dflt="")
bool select_group (const char *name, size_t index)
const char * get_str (const char *name)
const char * get_enum (const char *name)
prec_t get_prec (const char *name)
size_t get_size (const char *name)
vect3dget_vect3d (const char *name, vect3d &res)
bool get_bool (const char *name)
bool load (const char *path)

Classes

struct  group_t
struct  type_t
struct  value_t


Detailed Description

Configuration reading for the main polywell simulation application.

Definition at line 32 of file config.hpp.


Member Function Documentation

void Config::reg_num ( const char *  group,
const char *  name,
prec_t  deflt = 0.0 
)

void Config::reg_vect3d ( const char *  group,
const char *  name,
const vect3d dflt = vect3d(0, 0, 0) 
)

void Config::reg_bool ( const char *  group,
const char *  name,
bool  dflt = false 
)

void Config::reg_enum ( const char *  group,
const char *  name,
const char *  dflt,
  ... 
)

void Config::reg_str ( const char *  group,
const char *  name,
const char *  dflt = "" 
)

bool Config::select_group ( const char *  name,
size_t  index 
)

const char* Config::get_str ( const char *  name  ) 

const char* Config::get_enum ( const char *  name  ) 

prec_t Config::get_prec ( const char *  name  ) 

size_t Config::get_size ( const char *  name  ) 

vect3d& Config::get_vect3d ( const char *  name,
vect3d res 
)

bool Config::get_bool ( const char *  name  ) 

bool Config::load ( const char *  path  ) 


The documentation for this class was generated from the following file:
Generated on Thu Dec 6 20:31:16 2007 for Ephi by  doxygen 1.5.0