src/clipsrules/core/ruledef.h File Reference
#include "constrnt.h"
#include "cstrccom.h"
#include "network.h"
#include "conscomp.h"
#include "agenda.h"
Go to the source code of this file.
|
Classes |
| struct | defrule |
| struct | defruleModule |
| struct | defruleData |
Defines |
| #define | GetDisjunctIndex(r) ((struct constructHeader *) r)->bsaveID |
| #define | ALPHA_MEMORY_HASH_SIZE 63559L |
| #define | DEFRULE_DATA 16 |
| #define | EnvGetDefruleName(theEnv, x) GetConstructNameString((struct constructHeader *) x) |
| #define | EnvGetDefrulePPForm(theEnv, x) GetConstructPPForm(theEnv,(struct constructHeader *) x) |
| #define | EnvDefruleModule(theEnv, x) GetConstructModuleName((struct constructHeader *) x) |
| #define | DefruleData(theEnv) ((struct defruleData *) GetEnvironmentData(theEnv,DEFRULE_DATA)) |
| #define | GetPreviousJoin(theJoin) |
| #define | GetPatternForJoin(theJoin) |
| #define | LOCALE extern |
| #define | DefruleModule(x) GetConstructModuleName((struct constructHeader *) x) |
| #define | FindDefrule(a) EnvFindDefrule(GetCurrentEnvironment(),a) |
| #define | GetDefruleName(x) GetConstructNameString((struct constructHeader *) x) |
| #define | GetDefrulePPForm(x) GetConstructPPForm(GetCurrentEnvironment(),(struct constructHeader *) x) |
| #define | GetNextDefrule(a) EnvGetNextDefrule(GetCurrentEnvironment(),a) |
| #define | IsDefruleDeletable(a) EnvIsDefruleDeletable(GetCurrentEnvironment(),a) |
Functions |
| LOCALE void | InitializeDefrules (void *) |
| LOCALE void * | EnvFindDefrule (void *, char *) |
| LOCALE void * | EnvGetNextDefrule (void *, void *) |
| LOCALE struct defruleModule * | GetDefruleModuleItem (void *, struct defmodule *) |
| LOCALE intBool | EnvIsDefruleDeletable (void *, void *) |
Define Documentation
| #define ALPHA_MEMORY_HASH_SIZE 63559L |
| #define DefruleData |
( |
theEnv |
|
) |
((struct defruleData *) GetEnvironmentData(theEnv,DEFRULE_DATA)) |
| #define DefruleModule |
( |
x |
|
) |
GetConstructModuleName((struct constructHeader *) x) |
| #define EnvDefruleModule |
( |
theEnv, |
|
|
x |
|
) |
GetConstructModuleName((struct constructHeader *) x) |
| #define EnvGetDefruleName |
( |
theEnv, |
|
|
x |
|
) |
GetConstructNameString((struct constructHeader *) x) |
| #define EnvGetDefrulePPForm |
( |
theEnv, |
|
|
x |
|
) |
GetConstructPPForm(theEnv,(struct constructHeader *) x) |
| #define FindDefrule |
( |
a |
|
) |
EnvFindDefrule(GetCurrentEnvironment(),a) |
| #define GetDefruleName |
( |
x |
|
) |
GetConstructNameString((struct constructHeader *) x) |
| #define GetDefrulePPForm |
( |
x |
|
) |
GetConstructPPForm(GetCurrentEnvironment(),(struct constructHeader *) x) |
| #define GetNextDefrule |
( |
a |
|
) |
EnvGetNextDefrule(GetCurrentEnvironment(),a) |
| #define GetPatternForJoin |
( |
theJoin |
|
) |
|
Value:
(((theJoin)->joinFromTheRight) ? \
NULL : \
((theJoin)->rightSideEntryStructure))
Definition at line 140 of file ruledef.h.
| #define GetPreviousJoin |
( |
theJoin |
|
) |
|
Value:
(((theJoin)->joinFromTheRight) ? \
((struct joinNode *) (theJoin)->rightSideEntryStructure) : \
((theJoin)->lastLevel))
Definition at line 136 of file ruledef.h.
| #define IsDefruleDeletable |
( |
a |
|
) |
EnvIsDefruleDeletable(GetCurrentEnvironment(),a) |
Function Documentation
| LOCALE void* EnvFindDefrule |
( |
void * |
, |
|
|
char * |
| |
|
) |
| | |
| LOCALE void* EnvGetNextDefrule |
( |
void * |
, |
|
|
void * |
| |
|
) |
| | |
| LOCALE intBool EnvIsDefruleDeletable |
( |
void * |
, |
|
|
void * |
| |
|
) |
| | |
| LOCALE void InitializeDefrules |
( |
void * |
|
) |
|