Public Member Functions | |
| void | ProcessField (string &field, ifstream &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.
| void mod_sim::Settings::SettingsConfReader::ProcessField | ( | string & | field, | |
| ifstream & | conf | |||
| ) |
Palomino 3D Engine documents generated by doxygen 1.5.3 on Fri Nov 23 11:26:31 2007