src/clipsrules/core/insfun.c File Reference

#include <stdlib.h>
#include "setup.h"
#include "argacces.h"
#include "classcom.h"
#include "classfun.h"
#include "cstrnchk.h"
#include "engine.h"
#include "envrnmnt.h"
#include "inscom.h"
#include "insmngr.h"
#include "memalloc.h"
#include "modulutl.h"
#include "msgcom.h"
#include "msgfun.h"
#include "prccode.h"
#include "router.h"
#include "utility.h"
#include "drive.h"
#include "objrtmch.h"
#include "insfun.h"

Include dependency graph for insfun.c:

Go to the source code of this file.

Defines

#define _INSFUN_SOURCE_
#define BIG_PRIME   11329

Functions

globle void EnvIncrementInstanceCount (void *theEnv, void *vptr)
globle void EnvDecrementInstanceCount (void *theEnv, void *vptr)
globle void InitializeInstanceTable (void *theEnv)
globle void CleanupInstances (void *theEnv)
globle unsigned HashInstance (SYMBOL_HN *cname)
globle void DestroyAllInstances (void *theEnv)
globle void RemoveInstanceData (void *theEnv, INSTANCE_TYPE *ins)
globle INSTANCE_TYPEFindInstanceBySymbol (void *theEnv, SYMBOL_HN *moduleAndInstanceName)
globle INSTANCE_TYPEFindInstanceInModule (void *theEnv, SYMBOL_HN *instanceName, struct defmodule *theModule, struct defmodule *currentModule, unsigned searchImports)
globle INSTANCE_SLOTFindInstanceSlot (void *theEnv, INSTANCE_TYPE *ins, SYMBOL_HN *sname)
globle int FindInstanceTemplateSlot (void *theEnv, DEFCLASS *cls, SYMBOL_HN *sname)
globle int PutSlotValue (void *theEnv, INSTANCE_TYPE *ins, INSTANCE_SLOT *sp, DATA_OBJECT *val, DATA_OBJECT *setVal, char *theCommand)
globle int DirectPutSlotValue (void *theEnv, INSTANCE_TYPE *ins, INSTANCE_SLOT *sp, DATA_OBJECT *val, DATA_OBJECT *setVal)
globle int ValidSlotValue (void *theEnv, DATA_OBJECT *val, SLOT_DESC *sd, INSTANCE_TYPE *ins, char *theCommand)
globle INSTANCE_TYPECheckInstance (void *theEnv, char *func)
globle void NoInstanceError (void *theEnv, char *iname, char *func)
globle void StaleInstanceAddress (void *theEnv, char *func, int whichArg)
globle int EnvGetInstancesChanged (void *theEnv)
globle void EnvSetInstancesChanged (void *theEnv, int changed)
globle void PrintSlot (void *theEnv, char *logName, SLOT_DESC *sd, INSTANCE_TYPE *ins, char *theCommand)
globle void PrintInstanceNameAndClass (void *theEnv, char *logicalName, INSTANCE_TYPE *theInstance, intBool linefeedFlag)
globle void PrintInstanceName (void *theEnv, char *logName, void *vins)
globle void PrintInstanceLongForm (void *theEnv, char *logName, void *vins)
globle void DecrementObjectBasisCount (void *theEnv, void *vins)
globle void IncrementObjectBasisCount (void *theEnv, void *vins)
globle void MatchObjectFunction (void *theEnv, void *vins)
globle intBool NetworkSynchronized (void *theEnv, void *vins)


Define Documentation

#define _INSFUN_SOURCE_

Definition at line 76 of file insfun.c.

#define BIG_PRIME   11329

Definition at line 84 of file insfun.c.


Function Documentation

globle INSTANCE_TYPE* CheckInstance ( void *  theEnv,
char *  func 
)

Definition at line 802 of file insfun.c.

globle void CleanupInstances ( void *  theEnv  ) 

Definition at line 181 of file insfun.c.

globle void DecrementObjectBasisCount ( void *  theEnv,
void *  vins 
)

Definition at line 1087 of file insfun.c.

globle void DestroyAllInstances ( void *  theEnv  ) 

Definition at line 249 of file insfun.c.

globle int DirectPutSlotValue ( void *  theEnv,
INSTANCE_TYPE ins,
INSTANCE_SLOT sp,
DATA_OBJECT val,
DATA_OBJECT setVal 
)

Definition at line 543 of file insfun.c.

globle void EnvDecrementInstanceCount ( void *  theEnv,
void *  vptr 
)

Definition at line 139 of file insfun.c.

globle int EnvGetInstancesChanged ( void *  theEnv  ) 

Definition at line 903 of file insfun.c.

globle void EnvIncrementInstanceCount ( void *  theEnv,
void *  vptr 
)

Definition at line 116 of file insfun.c.

globle void EnvSetInstancesChanged ( void *  theEnv,
int  changed 
)

Definition at line 917 of file insfun.c.

globle INSTANCE_TYPE* FindInstanceBySymbol ( void *  theEnv,
SYMBOL_HN moduleAndInstanceName 
)

Definition at line 331 of file insfun.c.

globle INSTANCE_TYPE* FindInstanceInModule ( void *  theEnv,
SYMBOL_HN instanceName,
struct defmodule theModule,
struct defmodule currentModule,
unsigned  searchImports 
)

Definition at line 398 of file insfun.c.

globle INSTANCE_SLOT* FindInstanceSlot ( void *  theEnv,
INSTANCE_TYPE ins,
SYMBOL_HN sname 
)

Definition at line 454 of file insfun.c.

globle int FindInstanceTemplateSlot ( void *  theEnv,
DEFCLASS cls,
SYMBOL_HN sname 
)

Definition at line 476 of file insfun.c.

globle unsigned HashInstance ( SYMBOL_HN cname  ) 

Definition at line 230 of file insfun.c.

globle void IncrementObjectBasisCount ( void *  theEnv,
void *  vins 
)

Definition at line 1134 of file insfun.c.

globle void InitializeInstanceTable ( void *  theEnv  ) 

Definition at line 159 of file insfun.c.

globle void MatchObjectFunction ( void *  theEnv,
void *  vins 
)

Definition at line 1169 of file insfun.c.

globle intBool NetworkSynchronized ( void *  theEnv,
void *  vins 
)

Definition at line 1191 of file insfun.c.

globle void NoInstanceError ( void *  theEnv,
char *  iname,
char *  func 
)

Definition at line 853 of file insfun.c.

globle void PrintInstanceLongForm ( void *  theEnv,
char *  logName,
void *  vins 
)

Definition at line 1030 of file insfun.c.

globle void PrintInstanceName ( void *  theEnv,
char *  logName,
void *  vins 
)

Definition at line 998 of file insfun.c.

globle void PrintInstanceNameAndClass ( void *  theEnv,
char *  logicalName,
INSTANCE_TYPE theInstance,
intBool  linefeedFlag 
)

Definition at line 975 of file insfun.c.

globle void PrintSlot ( void *  theEnv,
char *  logName,
SLOT_DESC sd,
INSTANCE_TYPE ins,
char *  theCommand 
)

Definition at line 937 of file insfun.c.

globle int PutSlotValue ( void *  theEnv,
INSTANCE_TYPE ins,
INSTANCE_SLOT sp,
DATA_OBJECT val,
DATA_OBJECT setVal,
char *  theCommand 
)

Definition at line 509 of file insfun.c.

globle void RemoveInstanceData ( void *  theEnv,
INSTANCE_TYPE ins 
)

Definition at line 285 of file insfun.c.

globle void StaleInstanceAddress ( void *  theEnv,
char *  func,
int  whichArg 
)

Definition at line 877 of file insfun.c.

globle int ValidSlotValue ( void *  theEnv,
DATA_OBJECT val,
SLOT_DESC sd,
INSTANCE_TYPE ins,
char *  theCommand 
)

Definition at line 735 of file insfun.c.


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