Main Page | Class List | File List | Class Members | File Members

AltConfig Class Reference

List of all members.

Public Member Functions

 AltConfig (const char *configname)
 ~AltConfig ()

Protected Member Functions

virtual void setup_option (const std::string &group, const std::string &name, const std::string &value, const std::string &type)

Detailed Description

Main config for alternatives subsystem,


Constructor & Destructor Documentation

AltConfig::AltConfig const char *  configname  ) 
 

A constructor, read and parse config file, save all of them in internal hash

Parameters:
configname name of the configuration file

AltConfig::~AltConfig  ) 
 

A destructor, free all internal structures


Member Function Documentation

void AltConfig::setup_option const std::string &  group,
const std::string &  name,
const std::string &  value,
const std::string &  type
[protected, virtual]
 

implementation of virtual method of Ing::Config additional processing remove trailing slashes from filenames and add slash to the end of all directory pathes.

Parameters:
group group of options
name option's name
value value of option
type type of option


The documentation for this class was generated from the following files:
Generated on Wed Jun 16 15:02:26 2004 for Alternatives by doxygen 1.3.6