Branch data Line data Source code
1 : : /****************************************************************************** 2 : : * This file is part of the cvc5 project. 3 : : * 4 : : * Copyright (c) 2009-2026 by the authors listed in the file AUTHORS 5 : : * in the top-level source directory and their institutional affiliations. 6 : : * All rights reserved. See the file COPYING in the top-level source 7 : : * directory for licensing information. 8 : : * **************************************************************************** 9 : : * 10 : : * Enumeration type for the mode of an SolverEngine. 11 : : */ 12 : : 13 : : #include "smt/smt_mode.h" 14 : : 15 : : #include <iostream> 16 : : 17 : : namespace cvc5::internal { 18 : : 19 : 0 : std::ostream& operator<<(std::ostream& out, SmtMode m) 20 : : { 21 [ - - ][ - - ]: 0 : switch (m) [ - - ][ - - ] [ - - ] 22 : : { 23 : 0 : case SmtMode::START: out << "START"; break; 24 : 0 : case SmtMode::ASSERT: out << "ASSERT"; break; 25 : 0 : case SmtMode::SAT: out << "SAT"; break; 26 : 0 : case SmtMode::SAT_UNKNOWN: out << "UNKNOWN"; break; 27 : 0 : case SmtMode::UNSAT: out << "UNSAT"; break; 28 : 0 : case SmtMode::ABDUCT: out << "ABDUCT"; break; 29 : 0 : case SmtMode::INTERPOL: out << "INTERPOL"; break; 30 : 0 : case SmtMode::SYNTH: out << "SYNTH"; break; 31 : 0 : case SmtMode::FIND_SYNTH: out << "FIND_SYNTH"; break; 32 : 0 : default: out << "SmtMode!Unknown"; break; 33 : : } 34 : 0 : return out; 35 : : } 36 : : 37 : : } // namespace cvc5::internal