configuration_list.h

Go to the documentation of this file.
00001 #ifndef CONFIGURATION_LIST_CLASS
00002 #define CONFIGURATION_LIST_CLASS
00003 
00004 /*****************************************************************************\
00005 *                                                                             *
00006 *  Name   : configuration_list                                                *
00007 *  Author : Chris Koeritz                                                     *
00008 *                                                                             *
00009 *******************************************************************************
00010 * Copyright (c) 2001-$now By Author.  This program is free software; you can  *
00011 * redistribute it and/or modify it under the terms of the GNU General Public  *
00012 * License as published by the Free Software Foundation; either version 2 of   *
00013 * the License or (at your option) any later version.  This is online at:      *
00014 *     http://www.fsf.org/copyleft/gpl.html                                    *
00015 * Please send any updates to: fred@gruntose.com                               *
00016 \*****************************************************************************/
00017 
00018 #include "data_structure_dll.h"
00019 
00020 #include <basis/object_base.h>
00021 
00022 // forward.
00023 class cl_figlet_list;
00024 class configlet;
00025 class configurator;
00026 
00028 
00033 class DATA_STRUCTURE_CLASS_STYLE configuration_list
00034 : public virtual object_base
00035 {
00036 public:
00037   configuration_list();
00038   ~configuration_list();
00039 
00040   IMPLEMENT_CLASS_NAME("configuration_list");
00041 
00042   void reset();  
00043 
00044   void add(const configlet &new_item);
00046 
00047   const configlet *find(const configlet &to_find) const;
00049 
00055   bool zap(const configlet &dead_item);
00057 
00059 
00060   bool load(configurator &config);
00062   bool store(configurator &config) const;
00063 
00064 private:
00065   cl_figlet_list *_figs;  
00066 };
00067 
00068 #endif
00069 

Generated on Fri Nov 28 04:29:12 2008 for HOOPLE Libraries by  doxygen 1.5.1