src/clipsrules/core/tmpltutl.c File Reference

#include "setup.h"
#include <stdio.h>
#include <string.h>
#include "extnfunc.h"
#include "memalloc.h"
#include "constrct.h"
#include "router.h"
#include "argacces.h"
#include "cstrnchk.h"
#include "envrnmnt.h"
#include "tmpltfun.h"
#include "tmpltpsr.h"
#include "modulutl.h"
#include "watch.h"
#include "sysdep.h"
#include "tmpltbsc.h"
#include "tmpltdef.h"
#include "tmpltutl.h"

Include dependency graph for tmpltutl.c:

Go to the source code of this file.

Defines

#define _TMPLTUTL_SOURCE_
#define _STDIO_INCLUDED_

Functions

globle void InvalidDeftemplateSlotMessage (void *theEnv, char *slotName, char *deftemplateName, int printCR)
globle void SingleFieldSlotCardinalityError (void *theEnv, char *slotName)
globle void MultiIntoSingleFieldSlotError (void *theEnv, struct templateSlot *theSlot, struct deftemplate *theDeftemplate)
globle void CheckTemplateFact (void *theEnv, struct fact *theFact)
globle intBool CheckRHSSlotTypes (void *theEnv, struct expr *rhsSlots, struct templateSlot *slotPtr, char *thePlace)
globle struct templateSlotGetNthSlot (struct deftemplate *theDeftemplate, int position)
globle int FindSlotPosition (struct deftemplate *theDeftemplate, SYMBOL_HN *name)
globle void PrintTemplateFact (void *theEnv, char *logicalName, struct fact *theFact, int seperateLines, int ignoreDefaults)
globle void UpdateDeftemplateScope (void *theEnv)
globle struct templateSlotFindSlot (struct deftemplate *theDeftemplate, SYMBOL_HN *name, short *whichOne)
globle struct deftemplateCreateImpliedDeftemplate (void *theEnv, SYMBOL_HN *deftemplateName, int setFlag)


Define Documentation

#define _STDIO_INCLUDED_

Definition at line 40 of file tmpltutl.c.

#define _TMPLTUTL_SOURCE_

Definition at line 32 of file tmpltutl.c.


Function Documentation

globle intBool CheckRHSSlotTypes ( void *  theEnv,
struct expr rhsSlots,
struct templateSlot slotPtr,
char *  thePlace 
)

Definition at line 205 of file tmpltutl.c.

globle void CheckTemplateFact ( void *  theEnv,
struct fact theFact 
)

Definition at line 121 of file tmpltutl.c.

globle struct deftemplate* CreateImpliedDeftemplate ( void *  theEnv,
SYMBOL_HN deftemplateName,
int  setFlag 
) [read]

Definition at line 475 of file tmpltutl.c.

globle struct templateSlot* FindSlot ( struct deftemplate theDeftemplate,
SYMBOL_HN name,
short *  whichOne 
) [read]

Definition at line 448 of file tmpltutl.c.

globle int FindSlotPosition ( struct deftemplate theDeftemplate,
SYMBOL_HN name 
)

Definition at line 254 of file tmpltutl.c.

globle struct templateSlot* GetNthSlot ( struct deftemplate theDeftemplate,
int  position 
) [read]

Definition at line 232 of file tmpltutl.c.

globle void InvalidDeftemplateSlotMessage ( void *  theEnv,
char *  slotName,
char *  deftemplateName,
int  printCR 
)

Definition at line 66 of file tmpltutl.c.

globle void MultiIntoSingleFieldSlotError ( void *  theEnv,
struct templateSlot theSlot,
struct deftemplate theDeftemplate 
)

Definition at line 99 of file tmpltutl.c.

globle void PrintTemplateFact ( void *  theEnv,
char *  logicalName,
struct fact theFact,
int  seperateLines,
int  ignoreDefaults 
)

Definition at line 277 of file tmpltutl.c.

globle void SingleFieldSlotCardinalityError ( void *  theEnv,
char *  slotName 
)

Definition at line 85 of file tmpltutl.c.

globle void UpdateDeftemplateScope ( void *  theEnv  ) 

Definition at line 403 of file tmpltutl.c.


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