main.cpp File Reference

Main program for CVC_lite. More...

Go to the source code of this file.

Functions

Variables


Detailed Description

Main program for CVC_lite.

Author: Clark Barrett

Created: Wed Dec 4 17:21:10 2002


Copyright (C) 2003 by the Board of Trustees of Leland Stanford Junior University and by New York University.

License to use, copy, modify, sell and/or distribute this software and its documentation for any purpose is hereby granted without royalty, subject to the terms and conditions defined in the LICENSE file provided with this distribution. In particular:


Definition in file main.cpp.


Function Documentation

void parse_args int  argc,
char **  argv,
CLFlags flags,
string &  fileName
[static]
 

Definition at line 215 of file main.cpp.

References CVCL::CLFLAG_BOOL, CVCL::CLFLAG_INT, CVCL::CLFLAG_STRING, CVCL::CLFLAG_STRVEC, CVCL::CLFlags::countFlags(), CVCL::int2string(), and CVCL::CLFlags::setFlag().

Referenced by main().

void printUsage const CLFlags flags  )  [static]
 

Definition at line 167 of file main.cpp.

References CVCL::CLFLAG_BOOL, CVCL::CLFLAG_INT, CVCL::CLFLAG_NULL, CVCL::CLFLAG_STRING, CVCL::CLFLAG_STRVEC, CVCL::CLFlags::countFlags(), std::endl(), CVCL::CLFlag::getBool(), CVCL::CLFlag::getHelp(), CVCL::CLFlag::getInt(), CVCL::CLFlag::getString(), CVCL::CLFlag::getType(), CVCL::int2string(), and programName.

Referenced by main().

IF_DEBUG static DebugTimer   runtime(CVCL::debugger.timer("total runtime"))  ) 
 

void sighandler int  signum  ) 
 

Definition at line 59 of file main.cpp.

References CVCL::debugger, std::endl(), CVCL::ValidityChecker::getFlags(), CVCL::ValidityChecker::getStatistics(), IF_DEBUG(), CVCL::Debug::printAll(), and programName.

Referenced by main().

int main int  argc,
char **  argv
 

Definition at line 72 of file main.cpp.

References CVCL::ValidityChecker::create(), CVCL::ValidityChecker::createFlags(), CVCL::debugger, std::endl(), CVCL::ValidityChecker::getEM(), CVCL::ValidityChecker::getFlags(), CVCL::ExprManager::getInputLang(), CVCL::ExprManager::getOutputLang(), IF_DEBUG(), CVCL::ValidityChecker::loadFile(), parse_args(), CVCL::Debug::printAll(), CVCL::ValidityChecker::printStatistics(), printUsage(), programName, and sighandler().


Variable Documentation

string programName [static]
 

Definition at line 53 of file main.cpp.

Referenced by main(), printUsage(), and sighandler().

ValidityChecker* vc = NULL [static]
 

Definition at line 57 of file main.cpp.


Generated on Thu Apr 13 16:57:37 2006 for CVC Lite by  doxygen 1.4.4