diff options
author | Dejan Jovanović <dejan.jovanovic@gmail.com> | 2009-12-11 04:00:14 +0000 |
---|---|---|
committer | Dejan Jovanović <dejan.jovanovic@gmail.com> | 2009-12-11 04:00:14 +0000 |
commit | d26cd7a159bb56f492e21b7536f68abf821ca02a (patch) | |
tree | 3f601cae6490a8bfb4dc7dcdcc5c9b4dd1a75711 /src/expr/expr_value.h | |
parent | 82faddb718aaae5f52001e09d0754a3d254e2285 (diff) |
Extracted the public Expr and ExprManager interface to encapsulate the optimized expressions and the internal expression manager.
Diffstat (limited to 'src/expr/expr_value.h')
-rw-r--r-- | src/expr/expr_value.h | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/expr/expr_value.h b/src/expr/expr_value.h index 10f09e565..25fada4af 100644 --- a/src/expr/expr_value.h +++ b/src/expr/expr_value.h @@ -25,6 +25,8 @@ #include <stdint.h> #include "kind.h" +#include <string> + namespace CVC4 { class Node; @@ -112,7 +114,8 @@ public: unsigned getId() const { return d_id; } unsigned getKind() const { return (Kind) d_kind; } - void CVC4_PUBLIC toString(std::ostream& out) const; + std::string toString() const; + void toStream(std::ostream& out) const; }; }/* CVC4::expr namespace */ |