function.h

00001 /***************************************************************************
00002  *   clipsmm C++ wrapper for the CLIPS c library                           *
00003  *   Copyright (C) 2006 by Rick L. Vinyard, Jr.                            *
00004  *   rvinyard@cs.nmsu.edu                                                  *
00005  *                                                                         *
00006  *   This program is free software; you can redistribute it and/or modify  *
00007  *   it under the terms of version 2 of the GNU General Public License as  *
00008  *   published by the Free Software Foundation.                            *
00009  *                                                                         *
00010  *   This program is distributed in the hope that it will be useful,       *
00011  *   but WITHOUT ANY WARRANTY; without even the implied warranty of        *
00012  *   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the         *
00013  *   GNU General Public License for more details.                          *
00014  *                                                                         *
00015  *   You should have received a copy of the GNU Lesser General Public      *
00016  *   License along with this library; if not, write to the                 *
00017  *   Free Software Foundation, Inc.,                                       *
00018  *   51 Franklin St, Fifth Floor, Boston, MA  02110-1301  USA              *
00019  ***************************************************************************/
00020 #ifndef CLIPSFUNCTION_H
00021 #define CLIPSFUNCTION_H
00022 
00023 #include <clipsmm/environmentobject.h>
00024 
00025 namespace CLIPS {
00026 
00030 class Function : public EnvironmentObject
00031 {
00032 public:
00033   typedef CLIPSPointer<Function> pointer;
00034 
00035   Function( Environment& environment, void* cobj = NULL );
00036 
00037   static Function::pointer create( Environment& environment, void* cobj = NULL );
00038 
00039     ~Function();
00040 
00041     std::string name();
00042 
00043     std::string formatted();
00044 
00045     std::string module_name();
00046 
00047     bool is_watched();
00048 
00049     void set_watch( bool watch=true );
00050 
00051     bool is_deletable();
00052 
00053     Function::pointer next();
00054 
00055     bool undefine();
00056 
00057 };
00058 
00059 }
00060 
00061 #endif

Generated on Sun Nov 12 11:55:35 2006 by  doxygen 1.5.1