[ Lit Window Library at SourceForge ] [ Lit Window Productions Homepage ] [ wxWidgets Tips&Tricks ] [ wxVisualSetup ]
Classes | |
| struct | SetPath |
Path setters | |
| Changes the path to newPath | |
| wxConfigBase LWWX_API & | operator<< (wxConfigBase &cfg, const SetPath &newPath) |
| wxConfigBase LWWX_API & | operator>> (wxConfigBase &cfg, const SetPath &newPath) |
Read/Write functions | |
| wxConfigBase LWWX_API & | operator<< (wxConfigBase &cfg, const const_accessor &source) |
| Write values for the accessor to a Config object. | |
| wxConfigBase LWWX_API & | operator>> (wxConfigBase &cfg, const accessor &destination) |
| Read values for the accessor from a Config object. | |
g_settings variable from wxConfig using the path /settings. (*wxConfig::Get()) << SetPath("/settings") << make_const_accessor(g_settings);
g_settings variable to the wxConfig object. (*wxConfig::Get()) >> SetPath("/settings") >> make_accessor(g_settings);
|
||||||||||||
|
|
|
||||||||||||
|
This function writes the values for all members of the object, including containers and aggregates, to the wxConfig object. |
|
||||||||||||
|
|
|
||||||||||||
|
This function will read all values for all members of the object, including containers and aggregates. If a value is not present in the configuration storage, the corresponding member will be left unchanged. There are no default values.
|
Copyright 2004, Hajo Kirchhoff, Lit Window Productions