clipsmm - C++ CLIPS Interface Library
Go to the documentation of this file.
19 #ifndef CLIPSTEMPLATE_H
20 #define CLIPSTEMPLATE_H
29 #undef DYNAMIC_DEFAULT
42 class Template:
public EnvironmentObject {
44 typedef CLIPSPointer<Template>
pointer;
std::vector< std::string > slot_names()
Returns the slot names associated with this template.
Definition: template.cpp:128
std::string formatted()
Definition: template.cpp:70
std::string name()
The name of this template.
Definition: template.cpp:56
bool is_deletable()
Definition: template.cpp:183
void * cobj() const
Returns a pointer to the underlying CLIPS C object.
Definition: object.cpp:50
Template(Environment &environment, void *cobj=NULL)
Definition: template.cpp:47
void set_watch(unsigned state)
Definition: template.cpp:189
Values slot_default_value(const std::string &slot_name)
Returns the default value for a given slot.
Definition: template.cpp:144
Environment & m_environment
Definition: environmentobject.h:58
static Template::pointer create(Environment &environment, void *cobj=NULL)
Definition: template.cpp:50
DefaultType
Definition: template.h:50
bool is_watched()
True is this template is being watched.
Definition: template.cpp:166
bool is_multifield_slot(const std::string &slot_name)
Determines whether a slot is a multifield slot.
Definition: template.cpp:110
Values data_object_to_values(dataObject *clipsdo)
TODO Move to utility, since these are no longer factory methods.
Definition: factory.cpp:49
std::string module_name()
The name of the module this template is in.
Definition: template.cpp:63
Values slot_cardinality(const std::string &slot_name)
Returns the cardinality information for a slot.
Definition: template.cpp:89
DefaultType slot_default_type(const std::string &slot_name)
Determines whether a slot has a default value.
Definition: template.cpp:138
Environment & environment() const
Definition: environmentobject.cpp:50
bool is_single_field_slot(const std::string &slot_name)
Determines whether a slot is a single field slot.
Definition: template.cpp:119
@ DYNAMIC_DEFAULT
Definition: template.h:70
std::vector< Value > Values
Definition: value.h:295
~Template()
Definition: template.cpp:54
bool slot_exists(const std::string &slot_name)
Determines whether a slot exists in the template.
Definition: template.cpp:101
Values slot_allowed_values(const std::string &slot_name)
Returns the allowed values for a given slot.
Definition: template.cpp:77
bool retract()
Definition: template.cpp:194
@ NO_DEFAULT
Definition: template.h:68
Definition: activation.cpp:29
CLIPSPointer< Template > pointer
Definition: template.h:61
Values slot_range(const std::string &slot_name)
Returns the range information for a slot.
Definition: template.cpp:155
@ STATIC_DEFAULT
Definition: template.h:69
Template::pointer next()
Definition: template.cpp:172
std::vector< std::string > data_object_to_strings(dataObject *clipsdo)
Definition: utility.cpp:51
void * m_cobj
The underlying CLIPS C object.
Definition: object.h:79
Generated on Mon Jul 27 2020 00:00:00 for clipsmm by
1.8.18