Simplify and fix check models (#5685)
[cvc5.git] / src / smt / output_manager.cpp
1 /********************* */
2 /*! \file output_manager.cpp
3 ** \verbatim
4 ** Top contributors (to current version):
5 ** Abdalrhman Mohamed
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 Implementation of OutputManager functions.
13 **
14 ** Implementation of OutputManager functions.
15 **/
16
17 #include "smt/output_manager.h"
18
19 #include "smt/smt_engine.h"
20
21 namespace CVC4 {
22
23 OutputManager::OutputManager(SmtEngine* smt) : d_smt(smt) {}
24
25 const Printer& OutputManager::getPrinter() const
26 {
27 return *d_smt->getPrinter();
28 }
29
30 std::ostream& OutputManager::getDumpOut() const
31 {
32 return *d_smt->getOptions().getOut();
33 }
34
35 } // namespace CVC4