main.cpp File Reference

Main program for cvc3. More...

#include <signal.h>
#include <fstream>
#include <iomanip>
#include "os.h"
#include "vc.h"
#include "parser.h"
#include "vc_cmd.h"
#include "command_line_flags.h"
#include "statistics.h"

Include dependency graph for main.cpp:

Go to the source code of this file.

Defines

Functions

Variables


Detailed Description

Main program for cvc3.

Author: Clark Barrett

Created: Wed Dec 4 17:21:10 2002


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.


Definition in file main.cpp.


Define Documentation

#define VERSION   "unknown"

Referenced by main().


Function Documentation

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

Definition at line 223 of file main.cpp.

References CVC3::CLFLAG_BOOL, CVC3::CLFLAG_INT, CVC3::CLFLAG_STRING, CVC3::CLFLAG_STRVEC, CVC3::CLFlags::countFlags(), DebugAssert, and CVC3::CLFlags::setFlag().

Referenced by main().

void printUsage ( const CLFlags flags  )  [static]

Definition at line 175 of file main.cpp.

References CVC3::CLFLAG_BOOL, CVC3::CLFLAG_INT, CVC3::CLFLAG_NULL, CVC3::CLFLAG_STRING, CVC3::CLFLAG_STRVEC, CVC3::CLFlags::countFlags(), DebugAssert, std::endl(), MiniSat::left(), and programName.

Referenced by main().

void sighandler ( int  signum  ) 

Definition at line 52 of file main.cpp.

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

Referenced by main().

int main ( int  argc,
char **  argv 
)

Definition at line 73 of file main.cpp.

References CVC3::debugger, std::endl(), CVC3::ValidityChecker::getEM(), CVC3::ValidityChecker::getFlags(), CVC3::ExprManager::getInputLang(), CVC3::ExprManager::getOutputLang(), IF_DEBUG, CVC3::ValidityChecker::loadFile(), parse_args(), CVC3::Debug::printAll(), CVC3::ValidityChecker::printStatistics(), printUsage(), programName, sighandler(), TRACE_MSG, vc, and VERSION.


Variable Documentation

string programName [static]

Definition at line 46 of file main.cpp.

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

ValidityChecker* vc = NULL [static]

Definition at line 48 of file main.cpp.

Referenced by main(), and sighandler().


Generated on Tue Jul 3 14:34:33 2007 for CVC3 by  doxygen 1.5.1