
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_UNKNOWN = -1 , 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 *obj) |
| dataObject * | value_to_data_object_rawenv (void *env, const Value &value, dataObject *obj) |
| dataObject * | value_to_data_object (const Environment &env, const Values &values, dataObject *obj) |
| dataObject * | value_to_data_object_rawenv (void *env, const Values &values, dataObject *obj) |
| 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, void *&value) |
| 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) |
| void | get_argument (void *env, int argposition, Values &values) |
| void | get_argument (void *env, int argposition, Value &value) |
| template<typename T_return > | |
| char | get_return_code () |
| template<> | |
| char | get_return_code< void * > () |
| 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<> | |
| char | get_return_code< Values > () |
| template<> | |
| char | get_return_code< Value > () |
| template<typename T_return > | |
| char | get_argument_code () |
| template<> | |
| char | get_argument_code< void * > () |
| 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 > () |
| template<> | |
| char | get_argument_code< Values > () |
| template<> | |
| char | get_argument_code< Value > () |
| 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 |
| Enumerator | |
|---|---|
| SALIENCE_EVAL_WHEN_DEFINED | |
| SALIENCE_EVAL_WHEN_ACTIVATED | |
| SALIENCE_EVAL_EVERY_CYCLE | |
| enum CLIPS::Type |
| ValueType * CLIPS::any_cast | ( | any * | operand | ) |
Referenced by any_cast(), and any_cast().
| ValueType CLIPS::any_cast | ( | const any & | operand | ) |
References any_cast().
| const ValueType * CLIPS::any_cast | ( | const any * | operand | ) |
References any_cast().
| std::vector< std::string > CLIPS::data_object_to_strings | ( | dataObject & | clipsdo | ) |
| std::vector< std::string > CLIPS::data_object_to_strings | ( | dataObject * | clipsdo | ) |
References data_object_to_strings().
Referenced by data_object_to_strings(), CLIPS::Environment::get_default_facts_names(), CLIPS::Environment::get_default_facts_names(), CLIPS::Environment::get_default_facts_names(), CLIPS::Environment::get_focus_stack(), CLIPS::Environment::get_function_names(), CLIPS::Environment::get_function_names(), CLIPS::Environment::get_function_names(), CLIPS::Environment::get_globals_names(), CLIPS::Environment::get_globals_names(), CLIPS::Environment::get_globals_names(), CLIPS::Environment::get_module_names(), CLIPS::Environment::get_rule_names(), CLIPS::Environment::get_rule_names(), CLIPS::Environment::get_rule_names(), CLIPS::Environment::get_template_names(), CLIPS::Environment::get_template_names(), CLIPS::Environment::get_template_names(), CLIPS::Fact::slot_names(), and CLIPS::Template::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.
References data_object_to_values().
Referenced by data_object_to_values(), CLIPS::Environment::evaluate(), CLIPS::Environment::function(), get_argument(), 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, | ||
| double & | value ) |
| void CLIPS::get_argument | ( | void * | env, |
| int | argposition, | ||
| float & | value ) |
| void CLIPS::get_argument | ( | void * | env, |
| int | argposition, | ||
| int & | value ) |
| void CLIPS::get_argument | ( | void * | env, |
| int | argposition, | ||
| long & | value ) |
| void CLIPS::get_argument | ( | void * | env, |
| int | argposition, | ||
| short & | value ) |
| void CLIPS::get_argument | ( | void * | env, |
| int | argposition, | ||
| short unsigned & | value ) |
| void CLIPS::get_argument | ( | void * | env, |
| int | argposition, | ||
| std::string & | value ) |
| void CLIPS::get_argument | ( | void * | env, |
| int | argposition, | ||
| unsigned & | value ) |
| void CLIPS::get_argument | ( | void * | env, |
| int | argposition, | ||
| Value & | value ) |
References data_object_to_values().
| void CLIPS::get_argument | ( | void * | env, |
| int | argposition, | ||
| Values & | values ) |
| void CLIPS::get_argument | ( | void * | env, |
| int | argposition, | ||
| void *& | value ) |
|
inline |
Referenced by CLIPS::Environment::get_function_restriction().
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
Referenced by CLIPS::Environment::add_function(), CLIPS::Environment::add_function(), CLIPS::Environment::add_function(), CLIPS::Environment::add_function(), CLIPS::Environment::add_function(), CLIPS::Environment::add_function(), CLIPS::Environment::add_function(), and CLIPS::Environment::add_function().
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
|
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 Value & | value, | ||
| dataObject * | obj ) |
References CLIPS::Object::cobj(), and value_to_data_object_rawenv().
Referenced by CLIPS::Fact::set_slot(), CLIPS::Fact::set_slot(), CLIPS::Global::set_value(), and CLIPS::Global::set_value().
| dataObject * CLIPS::value_to_data_object | ( | const Environment & | env, |
| const Values & | values, | ||
| dataObject * | obj ) |
References CLIPS::Object::cobj(), and value_to_data_object_rawenv().
| dataObject * CLIPS::value_to_data_object_rawenv | ( | void * | env, |
| const Value & | value, | ||
| dataObject * | obj ) |
References CLIPS::Value::as_address(), CLIPS::Value::as_float(), CLIPS::Value::as_integer(), CLIPS::Value::as_string(), CLIPS::Value::type(), TYPE_EXTERNAL_ADDRESS, TYPE_FLOAT, TYPE_INSTANCE_NAME, TYPE_INTEGER, TYPE_STRING, and TYPE_SYMBOL.
Referenced by CLIPS::Environment::set_return_value(), value_to_data_object(), and value_to_data_object().
| dataObject * CLIPS::value_to_data_object_rawenv | ( | void * | env, |
| const Values & | values, | ||
| dataObject * | obj ) |
References TYPE_EXTERNAL_ADDRESS, TYPE_FLOAT, TYPE_INSTANCE_NAME, TYPE_INTEGER, TYPE_STRING, and TYPE_SYMBOL.
1.11.0