19#ifndef CLIPSTEMPLATE_H
20#define CLIPSTEMPLATE_H
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
bool slot_exists(const std::string &slot_name)
Determines whether a slot exists in the template.
Definition template.cpp:84
Values slot_cardinality(const std::string &slot_name)
Returns the cardinality information for a slot.
Definition template.cpp:72
Template(Environment &environment, void *cobj=NULL)
Definition template.cpp:30
bool is_deletable()
Definition template.cpp:166
bool is_watched()
True is this template is being watched.
Definition template.cpp:149
std::vector< std::string > slot_names()
Returns the slot names associated with this template.
Definition template.cpp:111
static Template::pointer create(Environment &environment, void *cobj=NULL)
Definition template.cpp:33
DefaultType slot_default_type(const std::string &slot_name)
Determines whether a slot has a default value.
Definition template.cpp:121
bool is_single_field_slot(const std::string &slot_name)
Determines whether a slot is a single field slot.
Definition template.cpp:102
std::string module_name()
The name of the module this template is in.
Definition template.cpp:46
std::string formatted()
Definition template.cpp:53
Template::pointer next()
Definition template.cpp:155
~Template()
Definition template.cpp:37
bool retract()
Definition template.cpp:177
Values slot_allowed_values(const std::string &slot_name)
Returns the allowed values for a given slot.
Definition template.cpp:60
std::string name()
The name of this template.
Definition template.cpp:39
bool is_multifield_slot(const std::string &slot_name)
Determines whether a slot is a multifield slot.
Definition template.cpp:93
CLIPSPointer< Template > pointer
Definition template.h:44
void set_watch(unsigned state)
Definition template.cpp:172
Values slot_range(const std::string &slot_name)
Returns the range information for a slot.
Definition template.cpp:138
Values slot_default_value(const std::string &slot_name)
Returns the default value for a given slot.
Definition template.cpp:127
Definition activation.cpp:29
std::vector< Value > Values
Definition value.h:278
DefaultType
Definition template.h:33
@ STATIC_DEFAULT
Definition template.h:35
@ DYNAMIC_DEFAULT
Definition template.h:36
@ NO_DEFAULT
Definition template.h:34
#define CLIPSPointer
Definition pointer.h:28