summaryrefslogtreecommitdiff
path: root/src/util/output.i
blob: dc524e1855bc971bb693b2f0e000b61bfb437eff (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
45
46
47
48
49
%{
#include "util/output.h"
%}

%ignore CVC4::null_streambuf;
%feature("valuewrapper") std::ostream;

// There are issues with SWIG's attempted wrapping of these variables when
// it tries to generate the getters and setters.  For now, just ignore them.
%ignore CVC4::null_sb;
%ignore CVC4::null_os;
%ignore CVC4::DumpOutC::dump_cout;

%ignore operator<<;
%ignore on(std::string);
%ignore isOn(std::string);
%ignore off(std::string);
%ignore printf(std::string, const char*, ...);
%ignore operator()(std::string);

%ignore CVC4::ScopedDebug::ScopedDebug(std::string);
%ignore CVC4::ScopedDebug::ScopedDebug(std::string, bool);

%ignore CVC4::ScopedTrace::ScopedTrace(std::string);
%ignore CVC4::ScopedTrace::ScopedTrace(std::string, bool);

%ignore CVC4::WarningC::getStream();
%ignore CVC4::MessageC::getStream();
%ignore CVC4::NoticeC::getStream();
%ignore CVC4::ChatC::getStream();
%ignore CVC4::TraceC::getStream();
%ignore CVC4::DebugC::getStream();
%ignore CVC4::DumpOutC::getStream();

%ignore CVC4::WarningC::setStream(std::ostream&);
%ignore CVC4::MessageC::setStream(std::ostream&);
%ignore CVC4::NoticeC::setStream(std::ostream&);
%ignore CVC4::ChatC::setStream(std::ostream&);
%ignore CVC4::TraceC::setStream(std::ostream&);
%ignore CVC4::DebugC::setStream(std::ostream&);
%ignore CVC4::DumpOutC::setStream(std::ostream&);

%ignore operator std::ostream&;
%ignore operator CVC4ostream;

%rename(get) operator();
%rename(ok) operator bool;

%include "util/output.h"
generated by cgit on debian on lair
contact matthew@masot.net with questions or feedback