#include <clipsmm/template.h>
Inheritance diagram for CLIPS::Template:
Vinyard, Jr. <rvinyard@cs.nmsu.edu>
Public Types | |
typedef CLIPSPointer< Template > | pointer |
Public Member Functions | |
Template (Environment &environment, void *cobj=NULL) | |
std::string | name () |
The name of this template. | |
std::string | module_name () |
The name of the module this template is in. | |
std::string | formatted () |
Values | slot_allowed_values (const std::string &slot_name) |
Returns the allowed values for a given slot. | |
Values | slot_cardinality (const std::string &slot_name) |
Returns the cardinality information for a slot. | |
DefaultType | slot_default_type (const std::string &slot_name) |
Determines whether a slot has a default value. | |
Values | slot_default_value (const std::string &slot_name) |
Returns the default value for a given slot. | |
Values | slot_range (const std::string &slot_name) |
Returns the range information for a slot. | |
bool | slot_exists (const std::string &slot_name) |
Determines whether a slot exists in the template. | |
bool | is_multifield_slot (const std::string &slot_name) |
Determines whether a slot is a multifield slot. | |
bool | is_single_field_slot (const std::string &slot_name) |
Determines whether a slot is a single field slot. | |
std::vector< std::string > | slot_names () |
Returns the slot names associated with this template. | |
bool | is_watched () |
True is this template is being watched. | |
Template::pointer | next () |
bool | is_deletable () |
void | set_watch (unsigned state) |
bool | retract () |
Static Public Member Functions | |
static Template::pointer | create (Environment &environment, void *cobj=NULL) |