Function declaration (aka function definition). It is the signature of interpreted and uninterpreted functions in Z3. The basic building block in Z3 is the function application. More...
#include <z3++.h>
Public Member Functions | |
| func_decl (context &c) | |
| func_decl (context &c, Z3_func_decl n) | |
| operator Z3_func_decl () const | |
| unsigned | id () const |
| retrieve unique identifier for func_decl. | |
| unsigned | arity () const |
| sort | domain (unsigned i) const |
| sort | range () const |
| symbol | name () const |
| Z3_decl_kind | decl_kind () const |
| unsigned | num_parameters () const |
| func_decl | transitive_closure (func_decl const &) |
| bool | is_const () const |
| expr | operator() () const |
| expr | operator() (unsigned n, expr const *args) const |
| expr | operator() (expr_vector const &v) const |
| expr | operator() (expr const &a) const |
| expr | operator() (int a) const |
| expr | operator() (expr const &a1, expr const &a2) const |
| expr | operator() (expr const &a1, int a2) const |
| expr | operator() (int a1, expr const &a2) const |
| expr | operator() (expr const &a1, expr const &a2, expr const &a3) const |
| expr | operator() (expr const &a1, expr const &a2, expr const &a3, expr const &a4) const |
| expr | operator() (expr const &a1, expr const &a2, expr const &a3, expr const &a4, expr const &a5) const |
| func_decl_vector | accessors () |
| Public Member Functions inherited from ast | |
| ast (context &c) | |
| ast (context &c, Z3_ast n) | |
| ast (ast const &s) | |
| ~ast () override | |
| operator Z3_ast () const | |
| operator bool () const | |
| ast & | operator= (ast const &s) |
| Z3_ast_kind | kind () const |
| unsigned | hash () const |
| std::string | to_string () const |
| Public Member Functions inherited from object | |
| object (context &c) | |
| virtual | ~object ()=default |
| context & | ctx () const |
| Z3_error_code | check_error () const |
Additional Inherited Members | |
| Protected Attributes inherited from ast | |
| Z3_ast | m_ast |
| Protected Attributes inherited from object | |
| context * | m_ctx |
Function declaration (aka function definition). It is the signature of interpreted and uninterpreted functions in Z3. The basic building block in Z3 is the function application.
|
inline |
Definition at line 906 of file z3++.h.
Referenced by accessors(), expr::decl(), context::enumeration_sort(), context::function(), context::function(), context::function(), context::function(), context::function(), context::function(), context::function(), model::get_const_decl(), parameter::get_decl(), model::get_func_decl(), cast_ast< func_decl >::operator()(), constructors::query(), context::recfun(), context::recfun(), z3::to_func_decl(), transitive_closure(), context::tuple_sort(), and context::user_propagate_function().
|
inline |
|
inline |
Definition at line 4641 of file z3++.h.
|
inline |
Definition at line 915 of file z3++.h.
Referenced by accessors(), fixedpoint::add_fact(), domain(), and is_const().
|
inline |
Definition at line 919 of file z3++.h.
Referenced by expr::is_and(), expr::is_distinct(), expr::is_eq(), expr::is_false(), expr::is_implies(), expr::is_ite(), expr::is_not(), expr::is_or(), expr::is_true(), and expr::is_xor().
|
inline |
Definition at line 916 of file z3++.h.
Referenced by operator()(), operator()(), and operator()().
|
inline |
retrieve unique identifier for func_decl.
Definition at line 913 of file z3++.h.
Referenced by accessors().
|
inline |
|
inline |
Definition at line 920 of file z3++.h.
Referenced by parameter::parameter().
|
inline |
|
inline |
Definition at line 4266 of file z3++.h.
|
inline |
Definition at line 4273 of file z3++.h.
|
inline |
|
inline |
|
inline |
Definition at line 917 of file z3++.h.
Referenced by accessors().
Definition at line 923 of file z3++.h.