⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 tmpltbsc.h

📁 VC嵌入式CLips专家系统,实现战场环境的目标识别
💻 H
字号:
   /*******************************************************/
   /*      "C" Language Integrated Production System      */
   /*                                                     */
   /*             CLIPS Version 6.26  06/05/06            */
   /*                                                     */
   /*       DEFTEMPLATE BASIC COMMANDS HEADER FILE        */
   /*******************************************************/

/*************************************************************/
/* Purpose: Implements core commands for the deftemplate     */
/*   construct such as clear, reset, save, undeftemplate,    */
/*   ppdeftemplate, list-deftemplates, and                   */
/*   get-deftemplate-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_tmpltbsc
#define _H_tmpltbsc

#ifndef _H_evaluatn
#include "evaluatn.h"
#endif

#ifdef LOCALE
#undef LOCALE
#endif

#ifdef _TMPLTBSC_SOURCE_
#define LOCALE
#else
#define LOCALE extern
#endif

#if ENVIRONMENT_API_ONLY
#define GetDeftemplateList(theEnv,a,b) EnvGetDeftemplateList(theEnv,a,b)
#define ListDeftemplates(theEnv,a,b) EnvListDeftemplates(theEnv,a,b)
#define Undeftemplate(theEnv,a) EnvUndeftemplate(theEnv,a)
#define GetDeftemplateWatch(theEnv,a) EnvGetDeftemplateWatch(theEnv,a)
#define SetDeftemplateWatch(theEnv,a,b) EnvSetDeftemplateWatch(theEnv,a,b)
#else
#define GetDeftemplateList(a,b) EnvGetDeftemplateList(GetCurrentEnvironment(),a,b)
#define ListDeftemplates(a,b) EnvListDeftemplates(GetCurrentEnvironment(),a,b)
#define Undeftemplate(a) EnvUndeftemplate(GetCurrentEnvironment(),a)
#define GetDeftemplateWatch(a) EnvGetDeftemplateWatch(GetCurrentEnvironment(),a)
#define SetDeftemplateWatch(a,b) EnvSetDeftemplateWatch(GetCurrentEnvironment(),a,b)
#endif

   LOCALE void                           DeftemplateBasicCommands(void *);
   LOCALE void                           UndeftemplateCommand(void *);
   LOCALE intBool                        EnvUndeftemplate(void *,void *);
   LOCALE void                           GetDeftemplateListFunction(void *,DATA_OBJECT_PTR);
   LOCALE void                           EnvGetDeftemplateList(void *,DATA_OBJECT_PTR,void *);
   LOCALE void                          *DeftemplateModuleFunction(void *);
#if DEBUGGING_FUNCTIONS
   LOCALE void                           PPDeftemplateCommand(void *);
   LOCALE int                            PPDeftemplate(void *,char *,char *);
   LOCALE void                           ListDeftemplatesCommand(void *);
   LOCALE void                           EnvListDeftemplates(void *,char *,void *);
   LOCALE unsigned                       EnvGetDeftemplateWatch(void *,void *);
   LOCALE void                           EnvSetDeftemplateWatch(void *,unsigned,void *);
   LOCALE unsigned                       DeftemplateWatchAccess(void *,int,unsigned,struct expr *);
   LOCALE unsigned                       DeftemplateWatchPrint(void *,char *,int,struct expr *);
#endif

#endif


⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -