mod_sim::Settings::SettingsConfReader Class Reference

Template Method to parse fields in settings.conf. More...

List of all members.

Public Member Functions

void ProcessField (string &field, ifstream &conf)


Detailed Description

Template Method to parse fields in settings.conf.

Chaining of parsing settings.conf: ---------------------------------- ProcessField(): mod_sim --> mod_base --> eng --> gfx

Each library (except base) has a Settings and SettingsConfReader class. The parsing of settings.conf is chained across libraries. Starting at the top-level mod_sim, when a ProcessField() method encounters a field it doesn't recognize, its punts the field down to a ProcessField() of the lower-level. Only the top-level mod_sim actually opens the file "settings.conf". The reason for this chaining is that a common Settings (which would be easier to maintain) isn't possible since high-level classes are unavailable to lower-level libraries.


Member Function Documentation

void mod_sim::Settings::SettingsConfReader::ProcessField ( string &  field,
ifstream &  conf 
)


The documentation for this class was generated from the following files: Palomino 3D Engine documents generated by doxygen 1.5.3 on Fri Nov 23 11:26:31 2007