GCC Code Coverage Report
Directory: . Exec Total Coverage
File: src/base/output.cpp Lines: 11 11 100.0 %
Date: 2021-11-06 Branches: 3 6 50.0 %

Line Exec Source
1
/******************************************************************************
2
 * Top contributors (to current version):
3
 *   Mathias Preiner, Morgan Deters
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
 * Output utility classes and functions.
14
 */
15
16
#include "base/output.h"
17
18
#include <iostream>
19
20
namespace cvc5 {
21
22
/* Definitions of the declared globals from output.h... */
23
24
10381
null_streambuf null_sb;
25
10381
std::ostream null_os(&null_sb);
26
27
NullC nullStream;
28
29
10381
const std::string Cvc5ostream::s_tab = "  ";
30
10381
const int Cvc5ostream::s_indentIosIndex = std::ios_base::xalloc();
31
32
10381
DebugC DebugChannel(&std::cout);
33
10381
WarningC WarningChannel(&std::cerr);
34
10381
MessageC MessageChannel(&std::cout);
35
10381
TraceC TraceChannel(&std::cout);
36
10381
std::ostream DumpOutC::dump_cout(std::cout.rdbuf());  // copy cout stream buffer
37
10381
DumpOutC DumpOutChannel(&DumpOutC::dump_cout);
38
39
31143
}  // namespace cvc5