1 |
|
/****************************************************************************** |
2 |
|
* Top contributors (to current version): |
3 |
|
* Abdalrhman Mohamed, Andrew Reynolds |
4 |
|
* |
5 |
|
* This file is part of the cvc5 project. |
6 |
|
* |
7 |
|
* Copyright (c) 2009-2021 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. |
11 |
|
* **************************************************************************** |
12 |
|
* |
13 |
|
* Implementation of OutputManager functions. |
14 |
|
*/ |
15 |
|
|
16 |
|
#include "smt/output_manager.h" |
17 |
|
|
18 |
|
#include "options/base_options.h" |
19 |
|
#include "smt/smt_engine.h" |
20 |
|
|
21 |
|
namespace cvc5 { |
22 |
|
|
23 |
10497 |
OutputManager::OutputManager(SmtEngine* smt) : d_smt(smt) {} |
24 |
|
|
25 |
1 |
const Printer& OutputManager::getPrinter() const { return d_smt->getPrinter(); } |
26 |
|
|
27 |
1 |
std::ostream& OutputManager::getDumpOut() const |
28 |
|
{ |
29 |
1 |
return *d_smt->getOptions().base.out; |
30 |
|
} |
31 |
|
|
32 |
29340 |
} // namespace cvc5 |