#include <cassert>
#include <cstdio>
#include <cstring>
#include "hash.h"
#include "id.h"
#include "data.h"
#include "trace.h"
#include "kbase.h"
#include "dictionary.h"
#include "util.h"
#include "gabbie.h"
#include "tv.h"
#include "time.h"
Defines | |
#define | MAX_LINE_SIZE 256 |
#define | MAX_BEST 100 |
Functions | |
void | AddInstToTable (Id tableId, Id keyId, Data *pData) |
void | ScanData (Data *pInst, Data *pData) |
Data * | FindName (Id nameId) |
Data * | FindClass (Id id) |
Data * | FindInst (Id inst) |
void | AddToInstTable (Id inst, Data *p) |
void * | ValidateInst (Id idInst, Data *pData) |
void | MakeInst () |
void | ReadKBaseFile (char *fileName) |
Data * | QueryClassProp (Context *p) |
Data * | DoCalc (Context *p) |
Data * | QueryInstProp (Data *pInst, Id prop, Context *p) |
Data * | HelpQueryInstProp (Data *pInstList, Data *pPropList, Context *p) |
Data * | DoQuery (Context *p) |
Data * | Traverse (Data *pData, Id parentAttr, Context *&pContext) |
Data * | ProcessData (Data *pData) |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Pointer to reference allows Push and Pop to treat pContext like a stack. |
|
|