mirror of
https://github.com/Z3Prover/z3
synced 2025-04-23 17:15:31 +00:00
expose description of global parameters #6048
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
This commit is contained in:
parent
de892ed9f2
commit
7da9f12521
6 changed files with 34 additions and 0 deletions
|
@ -534,6 +534,11 @@ public:
|
|||
d->display(out, 4, false);
|
||||
}
|
||||
|
||||
param_descrs const& get_global_param_descrs() {
|
||||
lock_guard lock(*gparams_mux);
|
||||
return get_param_descrs();
|
||||
}
|
||||
|
||||
void display_parameter(std::ostream & out, char const * name) {
|
||||
std::string m, p;
|
||||
normalize(name, m, p);
|
||||
|
@ -624,6 +629,10 @@ void gparams::display(std::ostream & out, unsigned indent, bool smt2_style, bool
|
|||
g_imp->display(out, indent, smt2_style, include_descr);
|
||||
}
|
||||
|
||||
param_descrs const& gparams::get_global_param_descrs() {
|
||||
return g_imp->get_global_param_descrs();
|
||||
}
|
||||
|
||||
void gparams::display_modules(std::ostream & out) {
|
||||
SASSERT(g_imp);
|
||||
g_imp->display_modules(out);
|
||||
|
|
|
@ -120,6 +120,7 @@ public:
|
|||
static void display_modules(std::ostream & out);
|
||||
static void display_module(std::ostream & out, char const * module_name);
|
||||
static void display_parameter(std::ostream & out, char const * name);
|
||||
static param_descrs const& get_global_param_descrs();
|
||||
|
||||
/**
|
||||
\brief Initialize the global parameter management module.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue