A Context manages all other Z3 objects, global configuration options, etc. More...
Public Member Functions | |
| context () | |
| context (config &c) | |
| ~context () | |
| operator Z3_context () const | |
| void | check_error () const |
| Auxiliary method used to check for API usage errors. | |
| void | set (char const *param, char const *value) |
Update global parameter param with string value. | |
| void | set (char const *param, bool value) |
Update global parameter param with Boolean value. | |
| void | set (char const *param, int value) |
Update global parameter param with Integer value. | |
| void | interrupt () |
| Interrupt the current procedure being executed by any object managed by this context. This is a soft interruption: there is no guarantee the object will actualy stop. | |
| symbol | str_symbol (char const *s) |
| Create a Z3 symbol based on the given string. | |
| symbol | int_symbol (int n) |
| Create a Z3 symbol based on the given integer. | |
| sort | bool_sort () |
| Return the Boolean sort. | |
| sort | int_sort () |
| Return the integer sort. | |
| sort | real_sort () |
| Return the Real sort. | |
| sort | bv_sort (unsigned sz) |
Return the Bit-vector sort of size sz. That is, the sort for bit-vectors of size sz. | |
| sort | array_sort (sort d, sort r) |
Return an array sort for arrays from d to r. | |
| func_decl | function (symbol const &name, unsigned arity, sort const *domain, sort const &range) |
| func_decl | function (char const *name, unsigned arity, sort const *domain, sort const &range) |
| func_decl | function (char const *name, sort const &domain, sort const &range) |
| func_decl | function (char const *name, sort const &d1, sort const &d2, sort const &range) |
| func_decl | function (char const *name, sort const &d1, sort const &d2, sort const &d3, sort const &range) |
| func_decl | function (char const *name, sort const &d1, sort const &d2, sort const &d3, sort const &d4, sort const &range) |
| func_decl | function (char const *name, sort const &d1, sort const &d2, sort const &d3, sort const &d4, sort const &d5, sort const &range) |
| expr | constant (symbol const &name, sort const &s) |
| expr | constant (char const *name, sort const &s) |
| expr | bool_const (char const *name) |
| expr | int_const (char const *name) |
| expr | real_const (char const *name) |
| expr | bv_const (char const *name, unsigned sz) |
| expr | bool_val (bool b) |
| expr | int_val (int n) |
| expr | int_val (unsigned n) |
| expr | int_val (__int64 n) |
| expr | int_val (__uint64 n) |
| expr | int_val (char const *n) |
| expr | real_val (int n, int d) |
| expr | real_val (int n) |
| expr | real_val (unsigned n) |
| expr | real_val (__int64 n) |
| expr | real_val (__uint64 n) |
| expr | real_val (char const *n) |
| expr | bv_val (int n, unsigned sz) |
| expr | bv_val (unsigned n, unsigned sz) |
| expr | bv_val (__int64 n, unsigned sz) |
| expr | bv_val (__uint64 n, unsigned sz) |
| expr | bv_val (char const *n, unsigned sz) |
| expr | num_val (int n, sort const &s) |
A Context manages all other Z3 objects, global configuration options, etc.
|
inline |
Definition at line 123 of file z3++.h.
|
inline |
|
inline |
Return the Boolean sort.
Definition at line 1415 of file z3++.h.
Referenced by context::bool_const().
|
inline |
|
inline |
Return the Bit-vector sort of size sz. That is, the sort for bit-vectors of size sz.
Definition at line 1418 of file z3++.h.
Referenced by context::bv_const(), and context::bv_val().
|
inline |
|
inline |
Auxiliary method used to check for API usage errors.
Definition at line 129 of file z3++.h.
Referenced by context::array_sort(), context::bool_sort(), context::bv_sort(), context::bv_val(), object::check_error(), context::constant(), context::function(), context::int_sort(), context::int_symbol(), context::int_val(), context::num_val(), func_decl::operator()(), context::real_sort(), context::real_val(), context::str_symbol(), z3::to_expr(), z3::to_func_decl(), and z3::to_sort().
Definition at line 1476 of file z3++.h.
Referenced by context::bool_const(), context::bv_const(), context::constant(), context::int_const(), and context::real_const().
|
inline |
Definition at line 1421 of file z3++.h.
Referenced by z3::function().
Definition at line 1436 of file z3++.h.
|
inline |
Definition at line 1444 of file z3++.h.
|
inline |
Definition at line 1452 of file z3++.h.
|
inline |
Definition at line 1460 of file z3++.h.
|
inline |
Definition at line 1468 of file z3++.h.
|
inline |
|
inline |
Return the integer sort.
Definition at line 1416 of file z3++.h.
Referenced by context::int_const(), and context::int_val().
|
inline |
|
inline |
|
inline |
Interrupt the current procedure being executed by any object managed by this context. This is a soft interruption: there is no guarantee the object will actualy stop.
Definition at line 156 of file z3++.h.
Definition at line 1508 of file z3++.h.
Referenced by func_decl::operator()(), z3::select(), z3::store(), z3::udiv(), z3::uge(), z3::ugt(), z3::ule(), and z3::ult().
|
inline |
|
inline |
Return the Real sort.
Definition at line 1417 of file z3++.h.
Referenced by context::real_const(), and context::real_val().
|
inline |
|
inline |
Update global parameter param with string value.
Definition at line 138 of file z3++.h.
|
inline |
|
inline |
Update global parameter param with Integer value.
|
inline |
Create a Z3 symbol based on the given string.
Definition at line 1412 of file z3++.h.
Referenced by context::constant(), context::function(), and solver::solver().
1.8.2