diff options
Diffstat (limited to 'src/api/cvc4cpp.h')
-rw-r--r-- | src/api/cvc4cpp.h | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/src/api/cvc4cpp.h b/src/api/cvc4cpp.h index 2ff1cb91d..67e8bb6e7 100644 --- a/src/api/cvc4cpp.h +++ b/src/api/cvc4cpp.h @@ -873,6 +873,19 @@ class CVC4_PUBLIC OpTerm bool isNull() const; /** + * Get the indices used to create this OpTerm. + * Supports the following template arguments: + * - string + * - Kind + * - uint32_t + * - pair<uint32_t, uint32_t> + * Check the OpTerm Kind with getKind() to determine which argument to use. + * @return the indices used to create this OpTerm + */ + template <typename T> + T getIndices() const; + + /** * @return a string representation of this operator term */ std::string toString() const; @@ -1818,6 +1831,7 @@ class CVC4_PUBLIC Solver /** * Create operator of kind: * - RECORD_UPDATE_OP + * - DIVISIBLE_OP (to support arbitrary precision integers) * See enum Kind for a description of the parameters. * @param kind the kind of the operator * @param arg the string argument to this operator |