summaryrefslogtreecommitdiff
path: root/src/api/cvc4cpp.h
diff options
context:
space:
mode:
authorAina Niemetz <aina.niemetz@gmail.com>2019-10-07 18:37:48 -0700
committerGitHub <noreply@github.com>2019-10-07 18:37:48 -0700
commit217710627bd440cb28524d014afb5f10058302fd (patch)
tree7f6ee4d6ed7b17dff5d0619e2f5dcf17af319bfd /src/api/cvc4cpp.h
parent97c7e81a68b31328e5bf40dd6939826e3cc1cf93 (diff)
New C++ API: Add Term::getId(). (#3360)
+ use explicit types in NodeValue + add unit test for Term::isParameterized() Co-Authored-By: makaimann <makaim@stanford.edu>
Diffstat (limited to 'src/api/cvc4cpp.h')
-rw-r--r--src/api/cvc4cpp.h27
1 files changed, 16 insertions, 11 deletions
diff --git a/src/api/cvc4cpp.h b/src/api/cvc4cpp.h
index bb7b48f97..49c283b75 100644
--- a/src/api/cvc4cpp.h
+++ b/src/api/cvc4cpp.h
@@ -576,10 +576,25 @@ class CVC4_PUBLIC Term
bool operator!=(const Term& t) const;
/**
+ * @return the id of this term
+ */
+ uint64_t getId() const;
+
+ /**
* @return the kind of this term
*/
Kind getKind() const;
-
+
+ /**
+ * @return the sort of this term
+ */
+ Sort getSort() const;
+
+ /**
+ * @return true if this Term is a null term
+ */
+ bool isNull() const;
+
/**
* @return true if this expression is parameterized.
*
@@ -596,16 +611,6 @@ class CVC4_PUBLIC Term
* mkTerm(t.getKind(), b1, ..., bn )
*/
bool isParameterized() const;
-
- /**
- * @return the sort of this term
- */
- Sort getSort() const;
-
- /**
- * @return true if this Term is a null term
- */
- bool isNull() const;
/**
* Boolean negation.
generated by cgit on debian on lair
contact matthew@masot.net with questions or feedback