clipsmm - C++ CLIPS Interface Library

clipsmm logo
function.h
Go to the documentation of this file.
1 /***************************************************************************
2  * Copyright (C) 2006 by Rick L. Vinyard, Jr. *
3  * rvinyard@cs.nmsu.edu *
4  * *
5  * This file is part of the clipsmm library. *
6  * *
7  * The clipsmm library is free software; you can redistribute it and/or *
8  * modify it under the terms of the GNU General Public License *
9  * version 3 as published by the Free Software Foundation. *
10  * *
11  * The clipsmm library is distributed in the hope that it will be *
12  * useful, but WITHOUT ANY WARRANTY; without even the implied warranty *
13  * of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU *
14  * General Public License for more details. *
15  * *
16  * You should have received a copy of the GNU General Public License *
17  * along with this software. If not see <http://www.gnu.org/licenses/>. *
18  ***************************************************************************/
19 #ifndef CLIPSFUNCTION_H
20 #define CLIPSFUNCTION_H
21 
23 
24 namespace CLIPS {
25 
30 {
31 public:
32  typedef CLIPSPointer<Function> pointer;
33 
34  Function( Environment& environment, void* cobj = NULL );
35 
36  static Function::pointer create( Environment& environment, void* cobj = NULL );
37 
38  ~Function();
39 
40  std::string name();
41 
42  std::string formatted();
43 
44  std::string module_name();
45 
46  bool is_watched();
47 
48  void set_watch( bool watch=true );
49 
50  bool is_deletable();
51 
53 
54  bool undefine();
55 
56 };
57 
58 }
59 
60 #endif
~Function()
Definition: function.cpp:36
void set_watch(bool watch=true)
Definition: function.cpp:70
std::string name()
Definition: function.cpp:40
static Function::pointer create(Environment &environment, void *cobj=NULL)
Definition: function.cpp:32
CLIPSPointer< Function > pointer
Definition: function.h:32
Definition: function.h:29
Definition: environment.h:57
bool is_watched()
Definition: function.cpp:63
Function(Environment &environment, void *cobj=NULL)
Definition: function.cpp:29
Environment & environment() const
Definition: environmentobject.cpp:33
std::string formatted()
Definition: function.cpp:48
Function::pointer next()
Definition: function.cpp:75
void * cobj() const
Returns a pointer to the underlying CLIPS C object.
Definition: object.cpp:33
bool undefine()
Definition: function.cpp:91
bool is_deletable()
Definition: function.cpp:85
std::string module_name()
Definition: function.cpp:56
Definition: environmentobject.h:31

Generated on Sat Aug 16 2014 02:51:22 for clipsmm by doxygen 1.8.7