Add API function to obtain information about a single option (#6980)
authorGereon Kremer <nafur42@gmail.com>
Mon, 30 Aug 2021 23:55:58 +0000 (16:55 -0700)
committerGitHub <noreply@github.com>
Mon, 30 Aug 2021 23:55:58 +0000 (23:55 +0000)
commitaf1b3974022509e26fc14bfe6cb49cb73074b32e
tree7119c2da1971ad8bdfe5f46b8f72be2f2290dc80
parent22c83c12097da6105e6f03e0df70385527e651a4
Add API function to obtain information about a single option (#6980)

This PR adds api::Solver::getOptionInfo() that returns information about a single option, including its name, aliases, current and default value and its domain.
12 files changed:
.github/workflows/ci.yml
docs/api/cpp/class_hierarchy.rst
docs/api/cpp/cpp.rst
docs/api/cpp/optioninfo.rst [new file with mode: 0644]
examples/CMakeLists.txt
src/api/cpp/cvc5.cpp
src/api/cpp/cvc5.h
src/options/base_options.toml
src/options/mkoptions.py
src/options/options_public.h
src/options/options_public_template.cpp
test/unit/api/solver_black.cpp