trace.c File Reference

Implementation of tracing functionality. More...

#include <cstdlib>
#include <cassert>
#include <cstring>
#include <cstdio>
#include "trace.h"
#include "gabbie.h"

Classes

struct  TraceTabStruct

Functions

void TraceHelp ()
void TraceToggle (char *p)

Variables

int gFactoidCount = 0
int gTrReadFile = 0
int gTrWordLookup = 0
int gTrGramLookup = 0
int gTrMakeProd = 0
int gTrBestParse = 0
int gTrDoQuery = 0
int gTrTraverse = 0
int gTrSpell = 0
int gTrPalmFull = 0
int gTrPalm = 0
TraceTabStruct TraceTab []


Detailed Description

Implementation of tracing functionality.

Author:
Bryan Jacobson, 2006.

Function Documentation

void TraceHelp  ) 
 

void TraceToggle char *  p  ) 
 


Variable Documentation

int gFactoidCount = 0
 

int gTrBestParse = 0
 

int gTrDoQuery = 0
 

int gTrGramLookup = 0
 

int gTrMakeProd = 0
 

int gTrPalm = 0
 

int gTrPalmFull = 0
 

int gTrReadFile = 0
 

int gTrSpell = 0
 

int gTrTraverse = 0
 

int gTrWordLookup = 0
 

TraceTabStruct TraceTab[]
 

Initial value:

{
  { &gTrReadFile,   "ReadFile",   "Read in of data and grammar files" },
  { &gTrWordLookup, "WordLookup", "Lookup of words"                   },
  { &gTrSpell,      "Spell",      "Spelling correction"               },
  { &gTrGramLookup, "GramLookup", "Lookup of grammar rules"           },
  { &gTrMakeProd,   "MakeProd",   "Making new grammar productions"    },
  { &gTrBestParse,  "BestParse",  "Best parse results"                },
  { &gTrTraverse,   "Traverse",   "Traverse parse result data"        },
  { &gTrDoQuery,    "DoQuery",    "Doing the DataBase query"          },
  { &gTrPalm,       "Palm",       "Trace reading of palm data"        },
  { &gTrPalmFull,   "PalmFull",   "Verbose trace of read palm data"   },
  { 0, 0, 0} 
}


Generated on Sun Oct 8 09:32:10 2006 for gabbie by  doxygen 1.4.6