GCC Code Coverage Report
Directory: . Exec Total Coverage
File: src/smt/output_manager.cpp Lines: 2 5 40.0 %
Date: 2021-09-29 Branches: 2 4 50.0 %

Line Exec Source
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
9514
OutputManager::OutputManager(SmtEngine* smt) : d_smt(smt) {}
24
25
const Printer& OutputManager::getPrinter() const { return d_smt->getPrinter(); }
26
27
std::ostream& OutputManager::getDumpOut() const
28
{
29
  return *d_smt->getOptions().base.out;
30
}
31
32
22746
}  // namespace cvc5