Z3
Public Member Functions
cast_ast< func_decl > Class Template Reference

Public Member Functions

func_decl operator() (context &c, Z3_ast a)
 

Detailed Description

template<>
class z3::cast_ast< func_decl >

Definition at line 1012 of file z3++.h.

Member Function Documentation

func_decl operator() ( context c,
Z3_ast  a 
)
inline

Definition at line 1014 of file z3++.h.

1014  {
1015  assert(Z3_get_ast_kind(c, a) == Z3_FUNC_DECL_AST);
1016  return func_decl(c, reinterpret_cast<Z3_func_decl>(a));
1017  }
Z3_ast_kind Z3_API Z3_get_ast_kind(Z3_context c, Z3_ast a)
Return the kind of the given AST.