presage
0.8.7
|
#include <getopt.h>
#include <iostream>
#include <fstream>
#include <sstream>
#include "core/charsets.h"
#include "core/tokenizer/forwardTokenizer.h"
#include "simulator/simulator.h"
Go to the source code of this file.
Classes | |
class | SimulatorPresageCallback |
Functions | |
void | parseCommandLineArgs (int argc, char *argv[]) |
void | printUsage () |
void | printVersion () |
int | main (int argc, char *argv[]) |
Variables | |
const char | PROGRAM_NAME [] = "presage_simulator" |
bool | silent_mode = false |
bool | case_insensitive = false |
std::string | config |
int main | ( | int | argc, |
char * | argv[] | ||
) |
Definition at line 77 of file presageSimulator.cpp.
References case_insensitive, config, DEFAULT_BLANKSPACE_CHARS, DEFAULT_SEPARATOR_CHARS, endl(), ForwardTokenizer::hasMoreTokens(), Tokenizer::lowercaseMode(), ForwardTokenizer::nextToken(), parseCommandLineArgs(), printUsage(), Simulator::results(), silent_mode, Simulator::silentMode(), and Simulator::simulate().
void parseCommandLineArgs | ( | int | argc, |
char * | argv[] | ||
) |
void printUsage | ( | ) |
void printVersion | ( | ) |
bool case_insensitive = false |
Definition at line 53 of file presageSimulator.cpp.
Referenced by main().
std::string config |
Definition at line 54 of file presageSimulator.cpp.
const char PROGRAM_NAME[] = "presage_simulator" |
Definition at line 46 of file presageSimulator.cpp.
bool silent_mode = false |
Definition at line 52 of file presageSimulator.cpp.
Referenced by main().