fixes to build structure, util classes, lots of fixes to Node and NodeBuilder. outst...
[cvc5.git] / src / main / main.h
1 /********************* -*- C++ -*- */
2 /** main.h
3 ** Original author: mdeters
4 ** Major contributors: none
5 ** Minor contributors (to current version): dejan, barrett
6 ** This file is part of the CVC4 prototype.
7 ** Copyright (c) 2009 The Analysis of Computer Systems Group (ACSys)
8 ** Courant Institute of Mathematical Sciences
9 ** New York University
10 ** See the file COPYING in the top-level source directory for licensing
11 ** information.
12 **
13 ** Header for main CVC4 driver.
14 **/
15
16 #include <exception>
17 #include <string>
18
19 #include "config.h"
20 #include "util/exception.h"
21
22 #ifndef __CVC4__MAIN__MAIN_H
23 #define __CVC4__MAIN__MAIN_H
24
25 namespace CVC4 {
26
27 struct Options;
28
29 namespace main {
30
31 class OptionException : public CVC4::Exception {
32 public:
33 OptionException(const std::string& s) throw() : CVC4::Exception("Error in option parsing: " + s) {}
34 };/* class OptionException */
35
36 int parseOptions(int argc, char** argv, CVC4::Options*) throw(OptionException);
37 void cvc4_init() throw();
38
39 }/* CVC4::main namespace */
40 }/* CVC4 namespace */
41
42 #endif /* __CVC4__MAIN__MAIN_H */