All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Modules Pages
Public Member Functions
cast_ast< sort > Class Template Reference

Public Member Functions

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

Detailed Description

class z3::cast_ast< sort >

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

Member Function Documentation

sort operator() ( context c,
Z3_ast  a 

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

997  {
998  assert(Z3_get_ast_kind(c, a) == Z3_SORT_AST);
999  return sort(c, reinterpret_cast<Z3_sort>(a));
1000  }
Z3_ast_kind Z3_API Z3_get_ast_kind(__in Z3_context c, __in Z3_ast a)
Return the kind of the given AST.