#include <function.h>
Public Types | |
typedef CLIPSPointer< Function > | pointer |
![]() | |
typedef CLIPSPointer< Object > | pointer |
Public Member Functions | |
Function (Environment &environment, void *cobj=NULL) | |
~Function () | |
std::string | name () |
std::string | formatted () |
std::string | module_name () |
bool | is_watched () |
void | set_watch (bool watch=true) |
bool | is_deletable () |
Function::pointer | next () |
bool | undefine () |
![]() | |
EnvironmentObject (Environment &environment, void *cobj=NULL) | |
~EnvironmentObject () | |
Environment & | environment () const |
![]() | |
Object (void *cobj=NULL) | |
~Object () | |
void * | cobj () const |
Returns a pointer to the underlying CLIPS C object. | |
Static Public Member Functions | |
static Function::pointer | create (Environment &environment, void *cobj=NULL) |
Additional Inherited Members | |
![]() | |
Environment & | m_environment |
![]() | |
void * | m_cobj |
The underlying CLIPS C object. | |
typedef CLIPSPointer<Function> CLIPS::Function::pointer |
CLIPS::Function::Function | ( | Environment & | environment, |
void * | cobj = NULL ) |
References CLIPS::Object::cobj(), CLIPS::EnvironmentObject::environment(), and CLIPS::EnvironmentObject::EnvironmentObject().
Referenced by create().
CLIPS::Function::~Function | ( | ) |
|
static |
References CLIPS::Object::cobj(), CLIPS::EnvironmentObject::environment(), and Function().
Referenced by CLIPS::Environment::get_function(), CLIPS::Environment::get_function_list_head(), and next().
std::string CLIPS::Function::formatted | ( | ) |
References CLIPS::Object::m_cobj, and CLIPS::EnvironmentObject::m_environment.
bool CLIPS::Function::is_deletable | ( | ) |
References CLIPS::Object::m_cobj, and CLIPS::EnvironmentObject::m_environment.
bool CLIPS::Function::is_watched | ( | ) |
References CLIPS::Object::m_cobj, and CLIPS::EnvironmentObject::m_environment.
std::string CLIPS::Function::module_name | ( | ) |
References CLIPS::Object::m_cobj, and CLIPS::EnvironmentObject::m_environment.
std::string CLIPS::Function::name | ( | ) |
References CLIPS::Object::m_cobj, and CLIPS::EnvironmentObject::m_environment.
Function::pointer CLIPS::Function::next | ( | ) |
References create(), CLIPS::Object::m_cobj, and CLIPS::EnvironmentObject::m_environment.
void CLIPS::Function::set_watch | ( | bool | watch = true | ) |
References CLIPS::Object::m_cobj, and CLIPS::EnvironmentObject::m_environment.
bool CLIPS::Function::undefine | ( | ) |
References CLIPS::Object::m_cobj, and CLIPS::EnvironmentObject::m_environment.