blob: c5096025791a91e75f224d52fa3027df5facb24f (
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
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
|
/********************* */
/*! \file theoryof_mode.h
** \verbatim
** Original author: Dejan Jovanovic
** Major contributors: Morgan Deters
** Minor contributors (to current version): none
** This file is part of the CVC4 project.
** Copyright (c) 2009-2013 New York University and The University of Iowa
** See the file COPYING in the top-level source directory for licensing
** information.\endverbatim
**
** \brief Option selection for theoryOf() operation
**
** Option selection for theoryOf() operation.
**/
#include "cvc4_public.h"
#pragma once
namespace CVC4 {
namespace theory {
/** How do we associate theories with the terms */
enum TheoryOfMode {
/** Equality, variables and constants are associated with the types */
THEORY_OF_TYPE_BASED,
/** Variables are uninterpreted, constants are with the type, equalities prefer parametric */
THEORY_OF_TERM_BASED
};/* enum TheoryOfMode */
inline std::ostream& operator<<(std::ostream& out, TheoryOfMode m) throw() CVC4_PUBLIC;
inline std::ostream& operator<<(std::ostream& out, TheoryOfMode m) throw() {
switch(m) {
case THEORY_OF_TYPE_BASED: return out << "THEORY_OF_TYPE_BASED";
case THEORY_OF_TERM_BASED: return out << "THEORY_OF_TERM_BASED";
default: return out << "TheoryOfMode!UNKNOWN";
}
Unreachable();
}
}/* CVC4::theory namespace */
}/* CVC4 namespace */
|