ACE
6.1.0
|
Configuration object that imports/exports data to a file formatted using the Win32 Registry file export format. This format looks like [Section] "key"="String Data" "key"=dword: numeric data in hexadecimal format "key"=hex: binary data. More...
#include <Configuration_Import_Export.h>
Public Member Functions | |
ACE_Registry_ImpExp (ACE_Configuration &) | |
Construction. | |
virtual | ~ACE_Registry_ImpExp (void) |
Destruction. | |
virtual int | import_config (const ACE_TCHAR *filename) |
virtual int | export_config (const ACE_TCHAR *filename) |
Private Member Functions | |
int | export_section (const ACE_Configuration_Section_Key §ion, const ACE_TString &path, FILE *out) |
int | process_previous_line_format (ACE_TCHAR *buffer, ACE_Configuration_Section_Key §ion) |
ACE_Registry_ImpExp (const ACE_Registry_ImpExp &) | |
ACE_Registry_ImpExp & | operator= (const ACE_Registry_ImpExp &) |
Configuration object that imports/exports data to a file formatted using the Win32 Registry file export format. This format looks like [Section] "key"="String Data" "key"=dword: numeric data in hexadecimal format "key"=hex: binary data.
ACE_Registry_ImpExp::ACE_Registry_ImpExp | ( | ACE_Configuration & | config | ) |
Construction.
ACE_Registry_ImpExp::~ACE_Registry_ImpExp | ( | void | ) | [virtual] |
Destruction.
ACE_Registry_ImpExp::ACE_Registry_ImpExp | ( | const ACE_Registry_ImpExp & | ) | [private] |
int ACE_Registry_ImpExp::export_config | ( | const ACE_TCHAR * | filename | ) | [virtual] |
This method exports the entire configuration database to filename. Once the file is opened this method calls export_section() passing the root section.
Implements ACE_Config_ImpExp_Base.
int ACE_Registry_ImpExp::export_section | ( | const ACE_Configuration_Section_Key & | section, |
const ACE_TString & | path, | ||
FILE * | out | ||
) | [private] |
int ACE_Registry_ImpExp::import_config | ( | const ACE_TCHAR * | filename | ) | [virtual] |
Imports the configuration database from filename. No existing data is removed.
Implements ACE_Config_ImpExp_Base.
ACE_Registry_ImpExp& ACE_Registry_ImpExp::operator= | ( | const ACE_Registry_ImpExp & | ) | [private] |
int ACE_Registry_ImpExp::process_previous_line_format | ( | ACE_TCHAR * | buffer, |
ACE_Configuration_Section_Key & | section | ||
) | [private] |