1 |
|
/****************************************************************************** |
2 |
|
* Top contributors (to current version): |
3 |
|
* Mathias Preiner, Andrew Reynolds |
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 |
|
* [[ Add one-line brief description here ]] |
14 |
|
* |
15 |
|
* [[ Add lengthier description here ]] |
16 |
|
* \todo document this file |
17 |
|
*/ |
18 |
|
|
19 |
|
#include "options/printer_modes.h" |
20 |
|
|
21 |
|
namespace cvc5 { |
22 |
|
|
23 |
|
std::ostream& operator<<(std::ostream& out, options::InstFormatMode mode) |
24 |
|
{ |
25 |
|
out << "InstFormatMode::"; |
26 |
|
switch (mode) |
27 |
|
{ |
28 |
|
case options::InstFormatMode::DEFAULT: out << "DEFAULT"; break; |
29 |
|
case options::InstFormatMode::SZS: out << "SZS"; break; |
30 |
|
default: out << "UNKNOWN![" << unsigned(mode) << "]"; |
31 |
|
} |
32 |
|
return out; |
33 |
|
} |
34 |
|
|
35 |
28191 |
} // namespace cvc5 |