blob: 2e9fc64ee168b80b2608f91de151b810e097037f (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
|
/******************************************************************************
* Top contributors (to current version):
* Mathias Preiner, Morgan Deters
*
* This file is part of the cvc5 project.
*
* Copyright (c) 2009-2021 by the authors listed in the file AUTHORS
* in the top-level source directory and their institutional affiliations.
* All rights reserved. See the file COPYING in the top-level source
* directory for licensing information.
* ****************************************************************************
*
* Output utility classes and functions.
*/
#include "base/output.h"
#include <iostream>
namespace cvc5 {
/* Definitions of the declared globals from output.h... */
null_streambuf null_sb;
std::ostream null_os(&null_sb);
NullC nullStream;
const std::string Cvc5ostream::s_tab = " ";
const int Cvc5ostream::s_indentIosIndex = std::ios_base::xalloc();
DebugC DebugChannel(&std::cout);
WarningC WarningChannel(&std::cerr);
TraceC TraceChannel(&std::cout);
std::ostream DumpOutC::dump_cout(std::cout.rdbuf()); // copy cout stream buffer
DumpOutC DumpOutChannel(&DumpOutC::dump_cout);
} // namespace cvc5
|