src/clipsrules/core/insfun.h File Reference

#include "object.h"
#include "evaluatn.h"
#include "moduldef.h"

Include dependency graph for insfun.h:

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

Go to the source code of this file.

Classes

struct  igarbage

Defines

#define INSTANCE_TABLE_HASH_SIZE   8191
#define InstanceSizeHeuristic(ins)   sizeof(INSTANCE_TYPE)
#define LOCALE   extern
#define DecrementInstanceCount(a)   EnvDecrementInstanceCount(GetCurrentEnvironment(),a)
#define GetInstancesChanged()   EnvGetInstancesChanged(GetCurrentEnvironment())
#define IncrementInstanceCount(a)   EnvIncrementInstanceCount(GetCurrentEnvironment(),a)
#define SetInstancesChanged(a)   EnvSetInstancesChanged(GetCurrentEnvironment(),a)

Typedefs

typedef struct igarbage IGARBAGE

Functions

LOCALE void EnvIncrementInstanceCount (void *, void *)
LOCALE void EnvDecrementInstanceCount (void *, void *)
LOCALE void InitializeInstanceTable (void *)
LOCALE void CleanupInstances (void *)
LOCALE unsigned HashInstance (SYMBOL_HN *)
LOCALE void DestroyAllInstances (void *)
LOCALE void RemoveInstanceData (void *, INSTANCE_TYPE *)
LOCALE INSTANCE_TYPEFindInstanceBySymbol (void *, SYMBOL_HN *)
LOCALE INSTANCE_TYPEFindInstanceInModule (void *, SYMBOL_HN *, struct defmodule *, struct defmodule *, unsigned)
LOCALE INSTANCE_SLOTFindInstanceSlot (void *, INSTANCE_TYPE *, SYMBOL_HN *)
LOCALE int FindInstanceTemplateSlot (void *, DEFCLASS *, SYMBOL_HN *)
LOCALE int PutSlotValue (void *, INSTANCE_TYPE *, INSTANCE_SLOT *, DATA_OBJECT *, DATA_OBJECT *, char *)
LOCALE int DirectPutSlotValue (void *, INSTANCE_TYPE *, INSTANCE_SLOT *, DATA_OBJECT *, DATA_OBJECT *)
LOCALE intBool ValidSlotValue (void *, DATA_OBJECT *, SLOT_DESC *, INSTANCE_TYPE *, char *)
LOCALE INSTANCE_TYPECheckInstance (void *, char *)
LOCALE void NoInstanceError (void *, char *, char *)
LOCALE void StaleInstanceAddress (void *, char *, int)
LOCALE int EnvGetInstancesChanged (void *)
LOCALE void EnvSetInstancesChanged (void *, int)
LOCALE void PrintSlot (void *, char *, SLOT_DESC *, INSTANCE_TYPE *, char *)
LOCALE void PrintInstanceNameAndClass (void *, char *, INSTANCE_TYPE *, intBool)
LOCALE void PrintInstanceName (void *, char *, void *)
LOCALE void PrintInstanceLongForm (void *, char *, void *)


Define Documentation

#define DecrementInstanceCount (  )     EnvDecrementInstanceCount(GetCurrentEnvironment(),a)

Definition at line 69 of file insfun.h.

 
#define GetInstancesChanged (  )     EnvGetInstancesChanged(GetCurrentEnvironment())

Definition at line 70 of file insfun.h.

#define IncrementInstanceCount (  )     EnvIncrementInstanceCount(GetCurrentEnvironment(),a)

Definition at line 71 of file insfun.h.

#define INSTANCE_TABLE_HASH_SIZE   8191

Definition at line 56 of file insfun.h.

#define InstanceSizeHeuristic ( ins   )     sizeof(INSTANCE_TYPE)

Definition at line 57 of file insfun.h.

#define LOCALE   extern

Definition at line 66 of file insfun.h.

#define SetInstancesChanged (  )     EnvSetInstancesChanged(GetCurrentEnvironment(),a)

Definition at line 72 of file insfun.h.


Typedef Documentation

typedef struct igarbage IGARBAGE


Function Documentation

LOCALE INSTANCE_TYPE* CheckInstance ( void *  ,
char *   
)

Definition at line 802 of file insfun.c.

LOCALE void CleanupInstances ( void *   ) 

Definition at line 181 of file insfun.c.

LOCALE void DestroyAllInstances ( void *   ) 

Definition at line 249 of file insfun.c.

LOCALE int DirectPutSlotValue ( void *  ,
INSTANCE_TYPE ,
INSTANCE_SLOT ,
DATA_OBJECT ,
DATA_OBJECT  
)

Definition at line 543 of file insfun.c.

LOCALE void EnvDecrementInstanceCount ( void *  ,
void *   
)

Definition at line 139 of file insfun.c.

LOCALE int EnvGetInstancesChanged ( void *   ) 

Definition at line 903 of file insfun.c.

LOCALE void EnvIncrementInstanceCount ( void *  ,
void *   
)

Definition at line 116 of file insfun.c.

LOCALE void EnvSetInstancesChanged ( void *  ,
int   
)

Definition at line 917 of file insfun.c.

LOCALE INSTANCE_TYPE* FindInstanceBySymbol ( void *  ,
SYMBOL_HN  
)

Definition at line 331 of file insfun.c.

LOCALE INSTANCE_TYPE* FindInstanceInModule ( void *  ,
SYMBOL_HN ,
struct defmodule ,
struct defmodule ,
unsigned   
)

Definition at line 398 of file insfun.c.

LOCALE INSTANCE_SLOT* FindInstanceSlot ( void *  ,
INSTANCE_TYPE ,
SYMBOL_HN  
)

Definition at line 454 of file insfun.c.

LOCALE int FindInstanceTemplateSlot ( void *  ,
DEFCLASS ,
SYMBOL_HN  
)

Definition at line 476 of file insfun.c.

LOCALE unsigned HashInstance ( SYMBOL_HN  ) 

Definition at line 230 of file insfun.c.

LOCALE void InitializeInstanceTable ( void *   ) 

Definition at line 159 of file insfun.c.

LOCALE void NoInstanceError ( void *  ,
char *  ,
char *   
)

Definition at line 853 of file insfun.c.

LOCALE void PrintInstanceLongForm ( void *  ,
char *  ,
void *   
)

Definition at line 1030 of file insfun.c.

LOCALE void PrintInstanceName ( void *  ,
char *  ,
void *   
)

Definition at line 998 of file insfun.c.

LOCALE void PrintInstanceNameAndClass ( void *  ,
char *  ,
INSTANCE_TYPE ,
intBool   
)

Definition at line 975 of file insfun.c.

LOCALE void PrintSlot ( void *  ,
char *  ,
SLOT_DESC ,
INSTANCE_TYPE ,
char *   
)

Definition at line 937 of file insfun.c.

LOCALE int PutSlotValue ( void *  ,
INSTANCE_TYPE ,
INSTANCE_SLOT ,
DATA_OBJECT ,
DATA_OBJECT ,
char *   
)

Definition at line 509 of file insfun.c.

LOCALE void RemoveInstanceData ( void *  ,
INSTANCE_TYPE  
)

Definition at line 285 of file insfun.c.

LOCALE void StaleInstanceAddress ( void *  ,
char *  ,
int   
)

Definition at line 877 of file insfun.c.

LOCALE intBool ValidSlotValue ( void *  ,
DATA_OBJECT ,
SLOT_DESC ,
INSTANCE_TYPE ,
char *   
)

Definition at line 735 of file insfun.c.


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