GCC Code Coverage Report
Directory: . Exec Total Coverage
File: src/smt/output_manager.cpp Lines: 5 5 100.0 %
Date: 2021-05-22 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 "smt/smt_engine.h"
19
20
namespace cvc5 {
21
22
10093
OutputManager::OutputManager(SmtEngine* smt) : d_smt(smt) {}
23
24
1
const Printer& OutputManager::getPrinter() const { return d_smt->getPrinter(); }
25
26
10
std::ostream& OutputManager::getDumpOut() const
27
{
28
10
  return *d_smt->getOptions().getOut();
29
}
30
31
28191
}  // namespace cvc5