Add getters to retrieve constants from api::Term (#5677)
authorGereon Kremer <gereon.kremer@cs.rwth-aachen.de>
Tue, 15 Dec 2020 19:09:54 +0000 (20:09 +0100)
committerGitHub <noreply@github.com>
Tue, 15 Dec 2020 19:09:54 +0000 (20:09 +0100)
commitaa1b0e19f9ccfc5338a1d056f03b36c0bec6b4b4
tree5ccfdbcd9ffcd0e741139d750d346c00fa9e884e
parent240dad8784b4c9743ff6153a18daa7ae388f03e3
Add getters to retrieve constants from api::Term (#5677)

This PR adds method to obtain constant values from api::Term that are either integers or strings.
src/api/cvc4cpp.cpp
src/api/cvc4cpp.h
src/util/integer_gmp_imp.cpp
src/util/string.cpp
src/util/string.h
test/unit/api/term_black.cpp