summaryrefslogtreecommitdiff
path: root/src/printer/cvc/cvc_printer.h
diff options
context:
space:
mode:
authorTim King <taking@cs.nyu.edu>2017-11-28 09:07:14 -0800
committerGitHub <noreply@github.com>2017-11-28 09:07:14 -0800
commit45497438b85dfc408c974a788e28525f0b5717b9 (patch)
tree75929fcefcb17d5ba58bdffc136ba2ce49b2d622 /src/printer/cvc/cvc_printer.h
parentd552ca179b8723a93c6e0dae61242ceb1ccaa717 (diff)
Removing throw specifiers from internal Printer hierarchy. (#1393)
Diffstat (limited to 'src/printer/cvc/cvc_printer.h')
-rw-r--r--src/printer/cvc/cvc_printer.h30
1 files changed, 21 insertions, 9 deletions
diff --git a/src/printer/cvc/cvc_printer.h b/src/printer/cvc/cvc_printer.h
index 54ff3ea1d..ee25ad1f4 100644
--- a/src/printer/cvc/cvc_printer.h
+++ b/src/printer/cvc/cvc_printer.h
@@ -28,16 +28,29 @@ namespace printer {
namespace cvc {
class CvcPrinter : public CVC4::Printer {
- bool d_cvc3Mode;
-
- void toStream(std::ostream& out, TNode n, int toDepth, bool types, bool bracket) const throw();
- void toStream(std::ostream& out, const Model& m, const Command* c) const throw();
-public:
+ public:
using CVC4::Printer::toStream;
CvcPrinter(bool cvc3Mode = false) : d_cvc3Mode(cvc3Mode) { }
- void toStream(std::ostream& out, TNode n, int toDepth, bool types, size_t dag) const throw();
- void toStream(std::ostream& out, const Command* c, int toDepth, bool types, size_t dag) const throw();
- void toStream(std::ostream& out, const CommandStatus* s) const throw();
+ void toStream(std::ostream& out,
+ TNode n,
+ int toDepth,
+ bool types,
+ size_t dag) const override;
+ void toStream(std::ostream& out,
+ const Command* c,
+ int toDepth,
+ bool types,
+ size_t dag) const override;
+ void toStream(std::ostream& out, const CommandStatus* s) const override;
+
+ private:
+ void toStream(
+ std::ostream& out, TNode n, int toDepth, bool types, bool bracket) const;
+ void toStream(std::ostream& out,
+ const Model& m,
+ const Command* c) const override;
+
+ bool d_cvc3Mode;
};/* class CvcPrinter */
}/* CVC4::printer::cvc namespace */
@@ -45,4 +58,3 @@ public:
}/* CVC4 namespace */
#endif /* __CVC4__PRINTER__CVC_PRINTER_H */
-
generated by cgit on debian on lair
contact matthew@masot.net with questions or feedback