summaryrefslogtreecommitdiff
path: root/src/main/main.h
blob: d0a517967ca2e2798c6eaa8d61e9594358e67744 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
#include <iostream>
#include <exception>
#include <string>

#include "config.h"
#include "util/exception.h"
#include "util/options.h"

#ifndef __CVC4__MAIN__MAIN_H
#define __CVC4__MAIN__MAIN_H

namespace CVC4 {
namespace main {

class OptionException : public CVC4::Exception {
public:
  OptionException(const std::string& s) throw() : CVC4::Exception("Error in option parsing: " + s) {}
};/* class OptionException */

int parseOptions(int argc, char** argv, CVC4::Options*) throw(CVC4::Exception*);
void cvc4_init() throw();

}/* CVC4::main namespace */
}/* CVC4 namespace */

#endif /* __CVC4__MAIN__MAIN_H */
generated by cgit on debian on lair
contact matthew@masot.net with questions or feedback