Login | Register
My pages Projects Community openCollabNet

Config.hpp

Go to the documentation of this file.
00001 #ifndef CONFIG_CLASS_H
00002 #define CONFIG_CLASS_H 1
00003 /* 
00004    libprf1 - Preferences Registry Format configuration file access library
00005 
00006    Copyright (C) 2003 Andrei Sosnin
00007 
00008    This program is free software; you can redistribute it and/or modify
00009    it under the terms of the GNU General Public License as published by
00010    the Free Software Foundation; either version 2, or (at your option)
00011    any later version.
00012 
00013    This program is distributed in the hope that it will be useful,
00014    but WITHOUT ANY WARRANTY; without even the implied warranty of
00015    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
00016    GNU General Public License for more details.
00017 
00018    You should have received a copy of the GNU General Public License
00019    along with this program; if not, write to the Free Software Foundation,
00020    Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.  
00021 
00022    $ $Id: Config_8hpp-source.html,v 1.1 2004/05/11 11:23:19 tomatensaft Exp $
00023 
00024 */
00025 
00026 #include "Profile.hpp"
00027 
00028 #ifdef CXX_NAMESPACES
00029 XERCES_CPP_NAMESPACE_USE
00030 namespace prf{
00031 #endif
00032  
00041   class Config : public Container {
00042   public:
00043     
00044     typedef Profile element_type;
00045     
00046     typedef Container::iterator iterator;
00047     typedef Container::key_type key_type;
00048     typedef Container::value_type value_type;
00049     typedef Container::repr_type repr_type;
00050     
00051     
00061     explicit Config(repr_type * xelem);
00062         
00063     ~Config() throw ();
00064 
00070     virtual iterator createItem(key_type idkey);
00071 
00072     
00073   protected:
00074     
00075     // Deny using default & copy constructors and assignment operator
00076     
00077     Config();
00078     Config(Config &);
00079     Config operator=(Config);
00080     
00081   };
00082   
00083 #ifdef CXX_NAMESPACES
00084 }
00085 #endif
00086 
00087 #endif

Generated on Tue May 11 05:03:49 2004 for libprf1 by doxygen 1.3.6-20040222