Main Page | Modules | Namespace List | Class Hierarchy | Alphabetical List | Compound List | File List | Namespace Members | Compound Members | File Members | Related Pages | Examples

P::Config Class Reference

Configuration database class. More...

#include <pconfig.h>

List of all members.

Public Member Functions

 Config (ConfigStore &store)
 Config database constructor.

 ~Config ()
void reload ()
 Reload configuration (discarding any changes).

void save ()
 Save configuration (if modified).

Keyroot ()
 Return reference to the config root.

ConfigStorestore ()
 Return reference to the config store.

bool isModified () const
 Test if config was modifies.


Friends

class Key


Detailed Description

Configuration database class.

Definition at line 32 of file pconfig.h.


Constructor & Destructor Documentation

P::Config::Config ConfigStore store  ) 
 

Config database constructor.

Parameters:
store The configuration storage to use

P::Config::~Config  ) 
 


Member Function Documentation

bool P::Config::isModified  )  const [inline]
 

Test if config was modifies.

Definition at line 108 of file pconfig.h.

void P::Config::reload  ) 
 

Reload configuration (discarding any changes).

Key& P::Config::root  )  [inline]
 

Return reference to the config root.

Definition at line 100 of file pconfig.h.

void P::Config::save  ) 
 

Save configuration (if modified).

ConfigStore& P::Config::store  )  [inline]
 

Return reference to the config store.

Definition at line 104 of file pconfig.h.


Friends And Related Function Documentation

friend class Key [friend]
 

Definition at line 97 of file pconfig.h.


The documentation for this class was generated from the following file:
Generated on Fri Mar 12 21:08:32 2004 for P::Classes by doxygen 1.3.3