
Classes | |
| class | Activation |
| class | any |
| class | bad_any_cast |
| class | DefaultFacts |
| class | Environment |
| class | EnvironmentObject |
| class | Fact |
| class | Function |
| class | Global |
| class | Module |
| class | Object |
| class | Rule |
| class | Template |
| class | Value |
Typedefs | |
| typedef enum CLIPS::SalienceEvaluation | SalienceEvaluation |
| typedef enum CLIPS::ConflictResolution | ConflictResolution |
| typedef enum CLIPS::DefaultType | DefaultType |
| typedef enum CLIPS::Type | Type |
| typedef std::vector< Value > | Values |
Enumerations | |
| enum | SalienceEvaluation { SALIENCE_EVAL_WHEN_DEFINED, SALIENCE_EVAL_WHEN_ACTIVATED, SALIENCE_EVAL_EVERY_CYCLE } |
| enum | ConflictResolution { CONFLICT_DEPTH_STRATEGY, CONFLICT_BREADTH_STRATEGY, CONFLICT_LEX_STRATEGY, CONFLICT_MEA_STRATEGY, CONFLICT_COMPLEXITY_STRATEGY, CONFLICT_SIMPLICITY_STRATEGY, CONFLICT_RANDOM_STRATEGY, CONFLICT_DEFAULT_STRATEGY = CONFLICT_DEPTH_STRATEGY } |
| enum | DefaultType { NO_DEFAULT = 0, STATIC_DEFAULT = 1, DYNAMIC_DEFAULT = 2 } |
| enum | Type { TYPE_FLOAT = 0, TYPE_INTEGER = 1, TYPE_SYMBOL = 2, TYPE_STRING = 3, TYPE_EXTERNAL_ADDRESS = 5, TYPE_INSTANCE_ADDRESS = 7, TYPE_INSTANCE_NAME = 8 } |
Functions | |
| template<typename ValueType > | |
| ValueType * | any_cast (any *operand) |
| template<typename ValueType > | |
| const ValueType * | any_cast (const any *operand) |
| template<typename ValueType > | |
| ValueType | any_cast (const any &operand) |
| Values | data_object_to_values (dataObject *clipsdo) |
| TODO Move to utility, since these are no longer factory methods. | |
| Values | data_object_to_values (dataObject &clipsdo) |
| dataObject * | value_to_data_object (const Environment &env, const Value &value) |
| dataObject * | value_to_data_object (const Environment &env, const Values &values) |
| void | init () |
| The init method should be called before any other clipsmm functions. | |
| std::vector< std::string > | data_object_to_strings (dataObject *clipsdo) |
| std::vector< std::string > | data_object_to_strings (dataObject &clipsdo) |
| void | get_argument (void *env, int argposition, double &value) |
| void | get_argument (void *env, int argposition, float &value) |
| void | get_argument (void *env, int argposition, short &value) |
| void | get_argument (void *env, int argposition, short unsigned &value) |
| void | get_argument (void *env, int argposition, int &value) |
| void | get_argument (void *env, int argposition, unsigned &value) |
| void | get_argument (void *env, int argposition, long &value) |
| void | get_argument (void *env, int argposition, std::string &value) |
| template<typename T_return > | |
| char | get_return_code () |
| template<> | |
| char | get_return_code< bool > () |
| template<> | |
| char | get_return_code< char > () |
| template<> | |
| char | get_return_code< double > () |
| template<> | |
| char | get_return_code< float > () |
| template<> | |
| char | get_return_code< int > () |
| template<> | |
| char | get_return_code< long > () |
| template<> | |
| char | get_return_code< std::string > () |
| template<> | |
| char | get_return_code< void > () |
| template<typename T_return > | |
| char | get_argument_code () |
| template<> | |
| char | get_argument_code< double > () |
| template<> | |
| char | get_argument_code< float > () |
| template<> | |
| char | get_argument_code< int > () |
| template<> | |
| char | get_argument_code< long > () |
| template<> | |
| char | get_argument_code< std::string > () |
| typedef enum CLIPS::ConflictResolution CLIPS::ConflictResolution |
| typedef enum CLIPS::DefaultType CLIPS::DefaultType |
| typedef enum CLIPS::SalienceEvaluation CLIPS::SalienceEvaluation |
| typedef enum CLIPS::Type CLIPS::Type |
| typedef std::vector<Value> CLIPS::Values |
| enum CLIPS::DefaultType |
| enum CLIPS::Type |
| ValueType CLIPS::any_cast | ( | const any & | operand | ) | [inline] |
References any_cast().
| const ValueType* CLIPS::any_cast | ( | const any * | operand | ) | [inline] |
References any_cast().
| ValueType* CLIPS::any_cast | ( | any * | operand | ) | [inline] |
| std::vector< std::string > CLIPS::data_object_to_strings | ( | dataObject & | clipsdo | ) |
| std::vector< std::string > CLIPS::data_object_to_strings | ( | dataObject * | clipsdo | ) |
Referenced by CLIPS::Environment::get_default_facts_names(), CLIPS::Environment::get_focus_stack(), CLIPS::Environment::get_function_names(), CLIPS::Environment::get_globals_names(), CLIPS::Environment::get_module_names(), CLIPS::Environment::get_rule_names(), CLIPS::Environment::get_template_names(), CLIPS::Template::slot_names(), and CLIPS::Fact::slot_names().
| Values CLIPS::data_object_to_values | ( | dataObject & | clipsdo | ) |
References TYPE_EXTERNAL_ADDRESS, TYPE_INSTANCE_ADDRESS, TYPE_INSTANCE_NAME, TYPE_STRING, and TYPE_SYMBOL.
| Values CLIPS::data_object_to_values | ( | dataObject * | clipsdo | ) |
TODO Move to utility, since these are no longer factory methods.
Referenced by CLIPS::Environment::evaluate(), CLIPS::Environment::function(), CLIPS::Template::slot_allowed_values(), CLIPS::Template::slot_cardinality(), CLIPS::Template::slot_default_value(), CLIPS::Template::slot_range(), CLIPS::Fact::slot_value(), and CLIPS::Global::value().
| void CLIPS::get_argument | ( | void * | env, | |
| int | argposition, | |||
| std::string & | value | |||
| ) |
| void CLIPS::get_argument | ( | void * | env, | |
| int | argposition, | |||
| long & | value | |||
| ) |
| void CLIPS::get_argument | ( | void * | env, | |
| int | argposition, | |||
| unsigned & | value | |||
| ) |
| void CLIPS::get_argument | ( | void * | env, | |
| int | argposition, | |||
| int & | value | |||
| ) |
| void CLIPS::get_argument | ( | void * | env, | |
| int | argposition, | |||
| short unsigned & | value | |||
| ) |
| void CLIPS::get_argument | ( | void * | env, | |
| int | argposition, | |||
| short & | value | |||
| ) |
| void CLIPS::get_argument | ( | void * | env, | |
| int | argposition, | |||
| float & | value | |||
| ) |
| void CLIPS::get_argument | ( | void * | env, | |
| int | argposition, | |||
| double & | value | |||
| ) |
| char CLIPS::get_argument_code | ( | ) | [inline] |
| char CLIPS::get_argument_code< double > | ( | ) | [inline] |
| char CLIPS::get_argument_code< float > | ( | ) | [inline] |
| char CLIPS::get_argument_code< int > | ( | ) | [inline] |
| char CLIPS::get_argument_code< long > | ( | ) | [inline] |
| char CLIPS::get_argument_code< std::string > | ( | ) | [inline] |
| char CLIPS::get_return_code | ( | ) | [inline] |
| char CLIPS::get_return_code< bool > | ( | ) | [inline] |
| char CLIPS::get_return_code< char > | ( | ) | [inline] |
| char CLIPS::get_return_code< double > | ( | ) | [inline] |
| char CLIPS::get_return_code< float > | ( | ) | [inline] |
| char CLIPS::get_return_code< int > | ( | ) | [inline] |
| char CLIPS::get_return_code< long > | ( | ) | [inline] |
| char CLIPS::get_return_code< std::string > | ( | ) | [inline] |
| char CLIPS::get_return_code< void > | ( | ) | [inline] |
| void CLIPS::init | ( | ) |
The init method should be called before any other clipsmm functions.
| dataObject * CLIPS::value_to_data_object | ( | const Environment & | env, | |
| const Values & | values | |||
| ) |
References CLIPS::Object::cobj(), and value_to_data_object().
| dataObject * CLIPS::value_to_data_object | ( | const Environment & | env, | |
| const Value & | value | |||
| ) |
References CLIPS::Value::as_float(), CLIPS::Value::as_integer(), CLIPS::Value::as_string(), CLIPS::Object::cobj(), and CLIPS::Value::type().
Referenced by CLIPS::Fact::set_slot(), CLIPS::Global::set_value(), and value_to_data_object().
1.5.8