clipsmm - C++ CLIPS Interface Library
Main Page
Namespaces
Classes
Files
File List
File Members
clipsmm
rule.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 CLIPSRULE_H
20
#define CLIPSRULE_H
21
22
#include <
clipsmm/environmentobject.h
>
23
24
namespace
CLIPS {
25
29
class
Rule
:
public
EnvironmentObject
{
30
public
:
31
typedef
CLIPSPointer<Rule>
pointer
;
32
33
Rule
(
Environment
&
environment
,
void
*
cobj
=NULL );
34
35
static
Rule::pointer
create
(
Environment
&
environment
,
void
*
cobj
=NULL );
36
37
~Rule
();
38
39
bool
is_breakpoint_set
();
40
41
std::string
module_name
();
42
43
std::string
name
();
44
45
std::string
formatted
();
46
47
bool
activations_watched
();
48
49
bool
firings_watched
();
50
51
Rule::pointer
next
();
52
53
bool
is_deletable
();
54
55
void
refresh
();
56
57
bool
remove_break
();
58
59
void
set_break
();
60
61
void
set_watch_activations
(
bool
set
=
true
);
62
63
void
set_watch_firings
(
bool
set
=
true
);
64
65
bool
retract
();
66
69
protected
:
70
71
};
72
73
}
74
75
#endif
Generated on Thu Sep 27 2012 17:57:05 for clipsmm by
1.8.1.2