VariableMaker.hpp

00001 //::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
00002 //
00003 //        This file is part of E-Cell Simulation Environment package
00004 //
00005 //                Copyright (C) 1996-2002 Keio University
00006 //
00007 //::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
00008 //
00009 //
00010 // E-Cell is free software; you can redistribute it and/or
00011 // modify it under the terms of the GNU General Public
00012 // License as published by the Free Software Foundation; either
00013 // version 2 of the License, or (at your option) any later version.
00014 // 
00015 // E-Cell is distributed in the hope that it will be useful,
00016 // but WITHOUT ANY WARRANTY; without even the implied warranty of
00017 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
00018 // See the GNU General Public License for more details.
00019 // 
00020 // You should have received a copy of the GNU General Public
00021 // License along with E-Cell -- see the file COPYING.
00022 // If not, write to the Free Software Foundation, Inc.,
00023 // 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
00024 // 
00025 //END_HEADER
00026 //
00027 // written by Koichi Takahashi <shafi@e-cell.org>,
00028 // E-Cell Project.
00029 //
00030 
00031 #ifndef ___VARIABLEMAKER_H___
00032 #define ___VARIABLEMAKER_H___
00033 #include "Variable.hpp"
00034 #include "dmtool/ModuleMaker.hpp"
00035 
00036 namespace libecs
00037 {
00038 
00039   /* *defgroup libecs_module The Libecs Module 
00040    * This is the libecs module 
00041    * @{ 
00042    */ 
00043   
00044   class VariableMaker 
00045     : 
00046     public SharedModuleMaker<Variable>
00047   {
00048 
00049   public:
00050 
00051     VariableMaker() { makeClassList(); }
00052     virtual ~VariableMaker() {}
00053 
00054   protected:
00055 
00056     void makeClassList();
00057 
00058   };
00059 
00060 #define NewVariableModule( CLASS ) NewDynamicModule( Variable, CLASS )
00061 
00062   /** @} */ //end of libecs_module 
00063 
00064 } // namespace libecs
00065 
00066 
00067 #endif /* ___VARIABLEMAKER_H___ */
00068 
00069 
00070 /*
00071   Do not modify
00072   $Author: shafi $
00073   $Revision: 2529 $
00074   $Date: 2005-11-19 10:36:40 +0100 (Sat, 19 Nov 2005) $
00075   $Locker$
00076 */

Generated on Mon Dec 18 07:24:08 2006 for E-CELL C++ libraries (libecs and libemc) 3.1.105 by  doxygen 1.5.1