#include <_src_base_conf_txt.hh>

Public Member Functions | |
| ConfTxt (void) | |
| virtual | ~ConfTxt () |
| void | Read (const string &pathname) |
| virtual void | ProcessField (string &field, ifstream &config)=0 |
--- MIGHT THROW AN EXCEPTION ---
A configuration file is similar to a UNIX /etc file. ConfTxt::Read() is a Template Method that is responsble for:
Read() allows the derivative of ProcessField(string& field, ifstream& conf) to modify both passed args.
| base::ConfTxt::ConfTxt | ( | void | ) |
ctor/dtor. Actual code is at Read() instead of ctor because the virtual method ProcessField() has to be called.
| base::ConfTxt::~ConfTxt | ( | ) | [virtual] |
| void base::ConfTxt::Read | ( | const string & | pathname | ) |
Read configuration and either parse or defer fields.
--- MIGHT THROW AN EXCEPTION ---
Read() allows the derivative of ProcessField(string& field, ifstream& conf) to modify both passed args.
| virtual void base::ConfTxt::ProcessField | ( | string & | field, | |
| ifstream & | config | |||
| ) | [pure virtual] |
Implemented in base::Conf::ModuleConfTxt, control::Conf::ModuleConfTxt, fx::Conf::ModuleConfTxt, graph::Conf::ModuleConfTxt, hud::Conf::ModuleConfTxt, input::Conf::ModuleConfTxt, physics::AircraftSpecsConfTxt, physics::Conf::ModuleConfTxt, program::Conf::ModuleConfTxt, shader::Conf::ModuleConfTxt, sky::Conf::ModuleConfTxt, sound::Conf::ModuleConfTxt, view::Conf::ModuleConfTxt, and world::Conf::ModuleConfTxt.
Palomino Flight Simulator documents generated by doxygen 1.5.6 on Tue Sep 28 11:37:49 2010