src/clipsrules/core/ruledef.h File Reference

#include "constrnt.h"
#include "cstrccom.h"
#include "network.h"
#include "conscomp.h"
#include "agenda.h"

Include dependency graph for ruledef.h:

This graph shows which files directly or indirectly include this file:

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 defruleModuleGetDefruleModuleItem (void *, struct defmodule *)
LOCALE intBool EnvIsDefruleDeletable (void *, void *)


Define Documentation

#define ALPHA_MEMORY_HASH_SIZE   63559L

Definition at line 103 of file ruledef.h.

#define DEFRULE_DATA   16

Definition at line 106 of file ruledef.h.

#define DefruleData ( theEnv   )     ((struct defruleData *) GetEnvironmentData(theEnv,DEFRULE_DATA))

Definition at line 134 of file ruledef.h.

#define DefruleModule (  )     GetConstructModuleName((struct constructHeader *) x)

Definition at line 155 of file ruledef.h.

#define EnvDefruleModule ( theEnv,
 )     GetConstructModuleName((struct constructHeader *) x)

Definition at line 132 of file ruledef.h.

#define EnvGetDefruleName ( theEnv,
 )     GetConstructNameString((struct constructHeader *) x)

Definition at line 130 of file ruledef.h.

#define EnvGetDefrulePPForm ( theEnv,
 )     GetConstructPPForm(theEnv,(struct constructHeader *) x)

Definition at line 131 of file ruledef.h.

#define FindDefrule (  )     EnvFindDefrule(GetCurrentEnvironment(),a)

Definition at line 156 of file ruledef.h.

#define GetDefruleName (  )     GetConstructNameString((struct constructHeader *) x)

Definition at line 157 of file ruledef.h.

#define GetDefrulePPForm (  )     GetConstructPPForm(GetCurrentEnvironment(),(struct constructHeader *) x)

Definition at line 158 of file ruledef.h.

#define GetDisjunctIndex (  )     ((struct constructHeader *) r)->bsaveID

Definition at line 41 of file ruledef.h.

#define GetNextDefrule (  )     EnvGetNextDefrule(GetCurrentEnvironment(),a)

Definition at line 159 of file ruledef.h.

#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 (  )     EnvIsDefruleDeletable(GetCurrentEnvironment(),a)

Definition at line 160 of file ruledef.h.

#define LOCALE   extern

Definition at line 152 of file ruledef.h.


Function Documentation

LOCALE void* EnvFindDefrule ( void *  ,
char *   
)

Definition at line 268 of file ruledef.c.

LOCALE void* EnvGetNextDefrule ( void *  ,
void *   
)

Definition at line 281 of file ruledef.c.

LOCALE intBool EnvIsDefruleDeletable ( void *  ,
void *   
)

Definition at line 292 of file ruledef.c.

LOCALE struct defruleModule* GetDefruleModuleItem ( void *  ,
struct defmodule  
) [read]

Definition at line 257 of file ruledef.c.

LOCALE void InitializeDefrules ( void *   ) 

Definition at line 89 of file ruledef.c.


Generated on Mon Jan 10 22:33:42 2011 by  doxygen 1.5.6