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

Line Exec Source
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-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.\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
9622
OutputManager::OutputManager(SmtEngine* smt) : d_smt(smt) {}
24
25
3
const Printer& OutputManager::getPrinter() const { return d_smt->getPrinter(); }
26
27
12
std::ostream& OutputManager::getDumpOut() const
28
{
29
12
  return *d_smt->getOptions().getOut();
30
}
31
32
26685
}  // namespace CVC4