Main Page   Class Hierarchy   Alphabetical List   Compound List   File List   Compound Members   File Members   Related Pages  

ACE_Config_ImpExp_Base Class Reference

Base class for file import/export configuration. More...

#include <Configuration_Import_Export.h>

Inheritance diagram for ACE_Config_ImpExp_Base:

Inheritance graph
Collaboration diagram for ACE_Config_ImpExp_Base:

Collaboration graph
List of all members.

Public Methods

 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


Private Methods

 ACE_Config_ImpExp_Base (const ACE_Config_ImpExp_Base &)
ACE_Config_ImpExp_Base & operator= (const ACE_Config_ImpExp_Base &)

Detailed Description

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.

Definition at line 45 of file Configuration_Import_Export.h.

Constructor & Destructor Documentation

ACE_Config_ImpExp_Base::ACE_Config_ImpExp_Base ACE_Configuration   config

Constructor taking the ACE_Configuration to import/export to.

Definition at line 6 of file Configuration_Import_Export.cpp.

00007   : config_ (config)
00008 {
00009 }

ACE_Config_ImpExp_Base::~ACE_Config_ImpExp_Base void    [virtual]


Definition at line 11 of file Configuration_Import_Export.cpp.

00012 {
00013 }

ACE_Config_ImpExp_Base::ACE_Config_ImpExp_Base const ACE_Config_ImpExp_Base &    [private]

Member Function Documentation

virtual int ACE_Config_ImpExp_Base::export_config const ACE_TCHAR   filename [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_Registry_ImpExp.

virtual int ACE_Config_ImpExp_Base::import_config const ACE_TCHAR   filename [pure virtual]

Imports the configuration database from filename. No existing data is removed.

Implemented in ACE_Registry_ImpExp.

ACE_Config_ImpExp_Base& ACE_Config_ImpExp_Base::operator= const ACE_Config_ImpExp_Base &    [private]

Member Data Documentation

ACE_Configuration& ACE_Config_ImpExp_Base::config_ [protected]

Definition at line 70 of file Configuration_Import_Export.h.

Referenced by ACE_Ini_ImpExp::export_config, ACE_Registry_ImpExp::export_config, ACE_Ini_ImpExp::export_section, ACE_Registry_ImpExp::export_section, ACE_Ini_ImpExp::import_config, ACE_Registry_ImpExp::import_config, and ACE_Registry_ImpExp::process_previous_line_format.

The documentation for this class was generated from the following files:
Generated on Mon Jun 16 12:46:43 2003 for ACE by doxygen1.2.14 written by Dimitri van Heesch, © 1997-2002