File: ACE_Config_ImpExp_Base.3

package info (click to toggle)
ace 5.2.1-1
  • links: PTS
  • area: main
  • in suites: woody
  • size: 26,856 kB
  • ctags: 18,677
  • sloc: cpp: 171,831; makefile: 48,840; sh: 10,192; perl: 8,582; exp: 787; yacc: 387; lex: 140; csh: 20
file content (87 lines) | stat: -rw-r--r-- 2,654 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
.TH ACE_Config_ImpExp_Base 3 "1 Dec 2001" "ACE" \" -*- nroff -*-
.ad l
.nh
.SH NAME
ACE_Config_ImpExp_Base \- Base class for file import/export configuration. 
.SH SYNOPSIS
.br
.PP
\fC#include <Configuration_Import_Export.h>\fR
.PP
Inherited by \fBACE_Ini_ImpExp\fR, and \fBACE_Registry_ImpExp\fR.
.PP
.SS Public Methods

.in +1c
.ti -1c
.RI "\fBACE_Config_ImpExp_Base\fR (\fBACE_Configuration\fR& config)"
.br
.RI "\fIctor taking the \fBACE_Configuration\fR to import/export to.\fR"
.ti -1c
.RI "virtual \fB~ACE_Config_ImpExp_Base\fR (void)"
.br
.ti -1c
.RI "virtual int \fBimport_config\fR (const \fBACE_TCHAR\fR* filename) = 0"
.br
.ti -1c
.RI "virtual int \fBexport_config\fR (const \fBACE_TCHAR\fR* filename) = 0"
.br
.in -1c
.SS Protected Attributes

.in +1c
.ti -1c
.RI "\fBACE_Configuration\fR& \fBconfig_\fR"
.br
.in -1c
.SS Private Methods

.in +1c
.ti -1c
.RI "\fBACE_Config_ImpExp_Base\fR (const ACE_Config_ImpExp_Base&)"
.br
.ti -1c
.RI "ACE_Config_ImpExp_Base& \fBoperator=\fR (const ACE_Config_ImpExp_Base&)"
.br
.in -1c
.SH DETAILED DESCRIPTION
.PP 
Base class for file import/export configuration.
.PP
.PP
 This class provides base functionality for configuration objects that are persisted in files. It takes an \fBACE_Configuration\fR object that it populates with the data read. 
.PP
.SH CONSTRUCTOR & DESTRUCTOR DOCUMENTATION
.PP 
.SS ACE_Config_ImpExp_Base::ACE_Config_ImpExp_Base (\fBACE_Configuration\fR & config)
.PP
ctor taking the \fBACE_Configuration\fR to import/export to.
.PP
.SS ACE_Config_ImpExp_Base::~ACE_Config_ImpExp_Base (void)\fC [virtual]\fR
.PP
Destructor 
.SS ACE_Config_ImpExp_Base::ACE_Config_ImpExp_Base (const ACE_Config_ImpExp_Base &)\fC [private]\fR
.PP
.SH MEMBER FUNCTION DOCUMENTATION
.PP 
.SS int ACE_Config_ImpExp_Base::export_config (const \fBACE_TCHAR\fR * filename)\fC [pure virtual]\fR
.PP
This method exports the entire configuration database to <filename>. Once the file is opened this method calls 'export_section' passing  the root section. 
.PP
Reimplemented in \fBACE_Registry_ImpExp\fR, and \fBACE_Ini_ImpExp\fR.
.SS int ACE_Config_ImpExp_Base::import_config (const \fBACE_TCHAR\fR * filename)\fC [pure virtual]\fR
.PP
Imports the configuration database from filename.  No existing data is removed. 
.PP
Reimplemented in \fBACE_Registry_ImpExp\fR, and \fBACE_Ini_ImpExp\fR.
.SS ACE_Config_ImpExp_Base& ACE_Config_ImpExp_Base::operator= (const ACE_Config_ImpExp_Base &)\fC [private]\fR
.PP
.SH MEMBER DATA DOCUMENTATION
.PP 
.SS \fBACE_Configuration\fR & ACE_Config_ImpExp_Base::config_\fC [protected]\fR
.PP


.SH AUTHOR
.PP 
Generated automatically by Doxygen for ACE from the source code.