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

Line Exec Source
1
/*********************                                                        */
2
/*! \file output.cpp
3
 ** \verbatim
4
 ** Top contributors (to current version):
5
 **   Morgan Deters
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 Output utility classes and functions
13
 **
14
 ** Output utility classes and functions.
15
 **/
16
17
#include "base/output.h"
18
19
#include <iostream>
20
21
using namespace std;
22
23
namespace CVC4 {
24
25
/* Definitions of the declared globals from output.h... */
26
27
8892
null_streambuf null_sb;
28
8892
ostream null_os(&null_sb);
29
30
NullC nullCvc4Stream;
31
32
8892
const std::string CVC4ostream::s_tab = "  ";
33
8892
const int CVC4ostream::s_indentIosIndex = ios_base::xalloc();
34
35
8892
DebugC DebugChannel(&cout);
36
8892
WarningC WarningChannel(&cerr);
37
8892
MessageC MessageChannel(&cout);
38
8892
NoticeC NoticeChannel(&null_os);
39
8892
ChatC ChatChannel(&null_os);
40
8892
TraceC TraceChannel(&cout);
41
8892
std::ostream DumpOutC::dump_cout(cout.rdbuf());// copy cout stream buffer
42
8892
DumpOutC DumpOutChannel(&DumpOutC::dump_cout);
43
44
26676
}/* CVC4 namespace */