Introduce quantifiers inference manager (#5821)
[cvc5.git] / src / theory / theory_traits_template.h
1 /********************* */
2 /*! \file theory_traits_template.h
3 ** \verbatim
4 ** Top contributors (to current version):
5 ** Morgan Deters, Dejan Jovanovic, Mathias Preiner
6 ** This file is part of the CVC4 project.
7 ** Copyright (c) 2009-2020 by the authors listed in the file AUTHORS
8 ** in the top-level source directory and their institutional affiliations.
9 ** All rights reserved. See the file COPYING in the top-level source
10 ** directory for licensing information.\endverbatim
11 **
12 ** \brief A template for the theory_traits.h header, defining various
13 ** (static) aspects of theories
14 **
15 ** This file is a template for the theory_traits.h header, defining
16 ** various (static) aspects of theories, combined with the theory
17 ** kinds files to produce the final header.
18 **/
19
20 #include "cvc4_private.h"
21
22 #pragma once
23
24 #include "options/theory_options.h"
25 #include "theory/theory.h"
26
27 ${theory_includes}
28
29 namespace CVC4 {
30 namespace theory {
31
32 template <TheoryId theoryId>
33 struct TheoryTraits;
34
35 ${theory_traits}
36
37 struct TheoryConstructor {
38 static void addTheory(TheoryEngine* engine, TheoryId id) {
39 switch(id) {
40
41 ${theory_constructors}
42
43 default: Unhandled() << id;
44 }
45 }
46 };/* struct CVC4::theory::TheoryConstructor */
47
48 }/* CVC4::theory namespace */
49 }/* CVC4 namespace */