📄 rulebsc.h
字号:
/*******************************************************/
/* "C" Language Integrated Production System */
/* */
/* CLIPS Version 6.24 06/05/06 */
/* */
/* DEFRULE BASIC COMMANDS HEADER FILE */
/*******************************************************/
/*************************************************************/
/* Purpose: Implements core commands for the defrule */
/* construct such as clear, reset, save, undefrule, */
/* ppdefrule, list-defrules, and */
/* get-defrule-list. */
/* */
/* Principal Programmer(s): */
/* Gary D. Riley */
/* */
/* Contributing Programmer(s): */
/* Brian L. Donnell */
/* */
/* Revision History: */
/* 6.23: Corrected compilation errors for files */
/* generated by constructs-to-c. DR0861 */
/* */
/* 6.24: Renamed BOOLEAN macro type to intBool. */
/* */
/*************************************************************/
#ifndef _H_rulebsc
#define _H_rulebsc
#ifndef _H_evaluatn
#include "evaluatn.h"
#endif
#ifdef LOCALE
#undef LOCALE
#endif
#ifdef _RULEBSC_SOURCE_
#define LOCALE
#else
#define LOCALE extern
#endif
#if ENVIRONMENT_API_ONLY
#define GetDefruleList(theEnv,a,b) EnvGetDefruleList(theEnv,a,b)
#define GetDefruleWatchActivations(theEnv,a) EnvGetDefruleWatchActivations(theEnv,a)
#define GetDefruleWatchFirings(theEnv,a) EnvGetDefruleWatchFirings(theEnv,a)
#define ListDefrules(theEnv,a,b) EnvListDefrules(theEnv,a,b)
#define SetDefruleWatchActivations(theEnv,a,b) EnvSetDefruleWatchActivations(theEnv,a,b)
#define SetDefruleWatchFirings(theEnv,a,b) EnvSetDefruleWatchFirings(theEnv,a,b)
#define Undefrule(theEnv,a) EnvUndefrule(theEnv,a)
#else
#define GetDefruleList(a,b) EnvGetDefruleList(GetCurrentEnvironment(),a,b)
#define GetDefruleWatchActivations(a) EnvGetDefruleWatchActivations(GetCurrentEnvironment(),a)
#define GetDefruleWatchFirings(a) EnvGetDefruleWatchFirings(GetCurrentEnvironment(),a)
#define ListDefrules(a,b) EnvListDefrules(GetCurrentEnvironment(),a,b)
#define SetDefruleWatchActivations(a,b) EnvSetDefruleWatchActivations(GetCurrentEnvironment(),a,b)
#define SetDefruleWatchFirings(a,b) EnvSetDefruleWatchFirings(GetCurrentEnvironment(),a,b)
#define Undefrule(a) EnvUndefrule(GetCurrentEnvironment(),a)
#endif
LOCALE void DefruleBasicCommands(void *);
LOCALE void UndefruleCommand(void *);
LOCALE intBool EnvUndefrule(void *,void *);
LOCALE void GetDefruleListFunction(void *,DATA_OBJECT_PTR);
LOCALE void EnvGetDefruleList(void *,DATA_OBJECT_PTR,void *);
LOCALE void *DefruleModuleFunction(void *);
#if DEBUGGING_FUNCTIONS
LOCALE void PPDefruleCommand(void *);
LOCALE int PPDefrule(void *,char *,char *);
LOCALE void ListDefrulesCommand(void *);
LOCALE void EnvListDefrules(void *,char *,void *);
LOCALE unsigned EnvGetDefruleWatchFirings(void *,void *);
LOCALE unsigned EnvGetDefruleWatchActivations(void *,void *);
LOCALE void EnvSetDefruleWatchFirings(void *,unsigned,void *);
LOCALE void EnvSetDefruleWatchActivations(void *,unsigned,void *);
LOCALE unsigned DefruleWatchAccess(void *,int,unsigned,struct expr *);
LOCALE unsigned DefruleWatchPrint(void *,char *,int,struct expr *);
#endif
#endif
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -