clipsmm - C++ CLIPS Interface Library

clipsmm logo
defaultfacts.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 CLIPSDEFAULTFACTS_H
20 #define CLIPSDEFAULTFACTS_H
21 
22 #include <string>
23 
25 
26 namespace CLIPS {
27 
32  public:
33  typedef CLIPSPointer<DefaultFacts> pointer;
34 
35  DefaultFacts( Environment& environment, void* cobj = NULL );
36 
37  static DefaultFacts::pointer create( Environment& environment, void* cobj = NULL );
38 
39  ~DefaultFacts();
40 
41  std::string name();
42 
43  std::string module_name();
44 
45  std::string formatted();
46 
48 
49  bool is_deletable();
50 
51  bool retract();
52 
53  };
54 
55 }
56 
57 #endif
Definition: defaultfacts.h:31
DefaultFacts(Environment &environment, void *cobj=NULL)
Definition: defaultfacts.cpp:29
CLIPSPointer< DefaultFacts > pointer
Definition: defaultfacts.h:33
bool retract()
Definition: defaultfacts.cpp:80
DefaultFacts::pointer next()
Definition: defaultfacts.cpp:59
static DefaultFacts::pointer create(Environment &environment, void *cobj=NULL)
Definition: defaultfacts.cpp:32
std::string name()
Definition: defaultfacts.cpp:38
bool is_deletable()
Definition: defaultfacts.cpp:73
~DefaultFacts()
Definition: defaultfacts.cpp:36
std::string formatted()
Definition: defaultfacts.cpp:52
std::string module_name()
Definition: defaultfacts.cpp:45
Definition: environmentobject.h:32
Environment & environment() const
Definition: environmentobject.cpp:33
Definition: environment.h:57
void * cobj() const
Returns a pointer to the underlying CLIPS C object.
Definition: object.cpp:33
Definition: activation.cpp:29

Generated on Wed Jan 19 2022 00:00:00 for clipsmm by doxygen 1.9.1