Main Page   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Namespace Members   Compound Members   File Members  

AnyConfig.h

Go to the documentation of this file.
00001 #ifndef _ANYCONFIG_H
00002 #define _ANYCONFIG_H
00003 
00004 // Context define declarations
00005 
00006 // Forward extern class declarations
00007 
00008 //@START_USER1
00012 
00013 /* --------------------------------------------------------------
00014 Copyright (C) 2001 LifeLine Networks BV <soap2corba@lifeline.nl>
00015 
00016 This program is free software; you can redistribute it and/or
00017 modify it under the terms of the GNU General Public License
00018 as published by the Free Software Foundation; either
00019 version 2 of the License, or (at your option) any later
00020 version.
00021 
00022 This program is distributed in the hope that it will be useful,
00023 but WITHOUT ANY WARRANTY; without even the implied warranty of
00024 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
00025 GNU General Public License for more details.
00026 
00027 You should have received a copy of the GNU General Public License
00028 along with this program; if not, write to the Free Software
00029 Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
00030 -------------------------------------------------------------- */
00031 #ifndef DONT_NEED_CSTRING
00032 #include "CString.h"
00033 #else
00034 
00035 #include "StdAfx.h"
00036 extern "C" {
00037     void CString_init ();
00038     void CString_term ();
00039 }
00040 #endif
00041 
00043 #define CB_PTR(a) a*
00044 
00046 namespace AnyConfig {
00047     extern bool acfThrowExceptions;
00048 }
00049 
00050 //@END_USER1
00051 
00052 namespace AnyConfig
00053 {
00054 
00055 // Defines needed for relations between templated classes
00056 
00057 // Type declarations
00058 //@START_DECLARATION_653 HKEY
00059 #ifndef HAVE_REGISTRY
00060 
00061 typedef int HKEY;
00062 #endif
00063 //@END_DECLARATION_653
00064 
00065 // Forward class declarations
00066 class AcConfiguration;
00067 class AcWriteableConfig;
00068 class AcMemConfig;
00069 class AcMemCfgSection;
00070 class AcMemCfgItem;
00071 class AcBufFileConfig;
00072 class AcEnvConfig;
00073 class AcFileConfig;
00074 class AcMySQLConfig;
00075 class AcException;
00076 class AcRegConfig;
00077 class AcCfgSource;
00078 class AcAutoDelete;
00079 class AcCorbaConfig;
00080 
00081 // Needed ClassBuilder include files
00082 //#include <assert.h>
00083 
00084 // Make sure the inline implementations are skipped
00085 #ifdef CB_INLINES
00086 #undef CB_INLINES
00087 #endif
00088 
00089 // Include classes, for declarations
00090 #include "Configuration.h"
00091 #include "WriteableConfig.h"
00092 #include "MemCfgItem.h"
00093 #include "MemCfgSection.h"
00094 #include "MemConfig.h"
00095 #include "BufFileConfig.h"
00096 #include "EnvConfig.h"
00097 #include "FileConfig.h"
00098 #include "MySQLConfig.h"
00099 #include "Exception.h"
00100 #include "RegConfig.h"
00101 #include "CfgSource.h"
00102 #include "AutoDelete.h"
00103 #include "CorbaConfig.h"
00104 
00105 
00106 // Include classes again, for inline implementation
00107 #define CB_INLINES
00108 #include "Configuration.h"
00109 #include "MemCfgSection.h"
00110 #include "MemCfgItem.h"
00111 #include "BufFileConfig.h"
00112 #include "FileConfig.h"
00113 #include "MySQLConfig.h"
00114 #include "CfgSource.h"
00115 
00116 } // end of namespace AnyConfig
00117 
00118 //@START_USER2
00119 namespace AnyConfig {
00120     extern AcConfiguration *loadRedundantConfig(AcConfiguration *pSource, FILE *pfReport);
00121     extern void MasterConfig (int argc, char *argv []);
00122 }
00123 
00124 //@END_USER2
00125 
00126 #endif
00127 

Generated at Wed Nov 21 11:34:17 2001 for AnyConfig by doxygen1.2.8.1 written by Dimitri van Heesch, © 1997-2001