blob: 93ebf2a70b217406bf97ea78134bcbbb6873c922 (
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
39
40
41
42
43
44
|
/********************* */
/*! \file output.cpp
** \verbatim
** Top contributors (to current version):
** Morgan Deters
** This file is part of the CVC4 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.\endverbatim
**
** \brief Output utility classes and functions
**
** Output utility classes and functions.
**/
#include "base/output.h"
#include <iostream>
using namespace std;
namespace CVC4 {
/* Definitions of the declared globals from output.h... */
null_streambuf null_sb;
ostream null_os(&null_sb);
NullC nullCvc4Stream;
const std::string CVC4ostream::s_tab = " ";
const int CVC4ostream::s_indentIosIndex = ios_base::xalloc();
DebugC DebugChannel(&cout);
WarningC WarningChannel(&cerr);
MessageC MessageChannel(&cout);
NoticeC NoticeChannel(&null_os);
ChatC ChatChannel(&null_os);
TraceC TraceChannel(&cout);
std::ostream DumpOutC::dump_cout(cout.rdbuf());// copy cout stream buffer
DumpOutC DumpOutChannel(&DumpOutC::dump_cout);
}/* CVC4 namespace */
|