#include <prefs.h>
Collaboration diagram for SPARK::TPreferenceSettings:

Public Member Functions | |
Structors | |
| TPreferenceSettings (const char *prfFileName) | |
| Loads preference settings from *.prf file named "prfFileName". | |
| ~TPreferenceSettings () throw () | |
| Trivial destructor. | |
Access methods | |
| const char * | GetPrfFileName () const |
Returns the name of the *.prf file used to construct this object as const char* . | |
| TGlobalSettings & | GetGlobalSettings () |
| Returns a reference to the TGlobalSettings object containing the global setting defined in the *.prf file. | |
| const TGlobalSettings & | GetGlobalSettings () const |
| Returns a const reference to the TGlobalSettings object containing the global setting defined in the *.prf file. | |
| TComponentSettings & | GetComponentSettings (unsigned compHandle) |
Returns a reference to the TCopmonentSettings object containing the component setting for the component with handle comphandle defined in the *.prf file. | |
| const TComponentSettings & | GetComponentSettings (unsigned compHandle) const |
Returns a const reference to the TCopmonentSettings object containing the component setting for the component with handle comphandle defined in the *.prf file. | |
I/O Operations | |
| void | Write (std::ostream &os, const std::string &before) const |
Writes the global settings and all component settings to os. | |
|
|
Loads preference settings from *.prf file named "prfFileName".
|
|
|
Trivial destructor.
|
|
|
Returns the name of the *.prf file used to construct this object as
|
|
|
Returns a reference to the TGlobalSettings object containing the global setting defined in the *.prf file.
|
|
|
Returns a const reference to the TGlobalSettings object containing the global setting defined in the *.prf file.
|
|
|
Returns a reference to the TCopmonentSettings object containing the component setting for the component with handle
|
|
|
Returns a const reference to the TCopmonentSettings object containing the component setting for the component with handle
|
|
||||||||||||
|
Writes the global settings and all component settings to
|