ACE
6.3.3
|
Base class for file import/export configuration. More...
#include <Configuration_Import_Export.h>
Public Member Functions | |
ACE_Config_ImpExp_Base (ACE_Configuration &config) | |
Constructor taking the ACE_Configuration to import/export to. More... | |
virtual | ~ACE_Config_ImpExp_Base (void) |
virtual int | import_config (const ACE_TCHAR *filename)=0 |
virtual int | export_config (const ACE_TCHAR *filename)=0 |
Protected Attributes | |
ACE_Configuration & | config_ |
Private Member Functions | |
ACE_Config_ImpExp_Base (const ACE_Config_ImpExp_Base &) | |
ACE_Config_ImpExp_Base & | operator= (const ACE_Config_ImpExp_Base &) |
Base class for file import/export configuration.
This class provides base functionality for configuration objects that are persisted in files. It takes an ACE_Configuration object that it populates with the data read.
ACE_Config_ImpExp_Base::ACE_Config_ImpExp_Base | ( | ACE_Configuration & | config | ) |
Constructor taking the ACE_Configuration to import/export to.
|
virtual |
Destructor
|
private |
|
pure virtual |
This method exports the entire configuration database to filename. Once the file is opened this method calls 'export_section' passing the root section.
Implemented in ACE_Ini_ImpExp, and ACE_Registry_ImpExp.
|
pure virtual |
Imports the configuration database from filename. No existing data is removed.
Implemented in ACE_Ini_ImpExp, and ACE_Registry_ImpExp.
|
private |
|
protected |