presage  0.9.1
Classes | Functions | Variables
presageSimulator.cpp File Reference
#include <getopt.h>
#include <iostream>
#include <fstream>
#include <sstream>
#include "core/charsets.h"
#include "core/tokenizer/forwardTokenizer.h"
#include "simulator/simulator.h"
Include dependency graph for presageSimulator.cpp:

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
 

Function Documentation

int main ( int  argc,
char *  argv[] 
)
void parseCommandLineArgs ( int  argc,
char *  argv[] 
)

Definition at line 114 of file presageSimulator.cpp.

References case_insensitive, config, printUsage(), printVersion(), and silent_mode.

Referenced by main().

Here is the call graph for this function:

Here is the caller graph for this function:

void printUsage ( )

Definition at line 176 of file presageSimulator.cpp.

References endl(), and PROGRAM_NAME.

Referenced by main(), and parseCommandLineArgs().

Here is the call graph for this function:

Here is the caller graph for this function:

void printVersion ( )

Definition at line 167 of file presageSimulator.cpp.

References endl(), and PROGRAM_NAME.

Referenced by parseCommandLineArgs().

Here is the call graph for this function:

Here is the caller graph for this function:

Variable Documentation

bool case_insensitive = false

Definition at line 53 of file presageSimulator.cpp.

Referenced by main(), and parseCommandLineArgs().

std::string config

Definition at line 54 of file presageSimulator.cpp.

Referenced by main(), and parseCommandLineArgs().

const char PROGRAM_NAME[] = "presage_simulator"

Definition at line 46 of file presageSimulator.cpp.

Referenced by printUsage(), and printVersion().

bool silent_mode = false

Definition at line 52 of file presageSimulator.cpp.

Referenced by main(), and parseCommandLineArgs().