Z3
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
Public Member Functions
FiniteDomainSortRef Class Reference
+ Inheritance diagram for FiniteDomainSortRef:

Public Member Functions

def size
 
- Public Member Functions inherited from SortRef
def as_ast
 
def get_id
 
def kind
 
def subsort
 
def cast
 
def name
 
def __eq__
 
def __ne__
 
def __hash__
 
- Public Member Functions inherited from AstRef
def __init__
 
def __del__
 
def __deepcopy__
 
def __str__
 
def __repr__
 
def __eq__
 
def __hash__
 
def __nonzero__
 
def __bool__
 
def sexpr
 
def as_ast
 
def get_id
 
def ctx_ref
 
def eq
 
def translate
 
def __copy__
 
def hash
 
- Public Member Functions inherited from Z3PPObject
def use_pp
 

Additional Inherited Members

- Data Fields inherited from AstRef
 ast
 
 ctx
 

Detailed Description

Finite domain sort.

Definition at line 7177 of file z3py.py.

Member Function Documentation

def size (   self)
Return the size of the finite domain sort

Definition at line 7180 of file z3py.py.

7181  def size(self):
7182  """Return the size of the finite domain sort"""
7183  r = (ctypes.c_ulonglong * 1)()
7184  if Z3_get_finite_domain_sort_size(self.ctx_ref(), self.ast, r):
7185  return r[0]
7186  else:
7187  raise Z3Exception("Failed to retrieve finite domain sort size")
Z3_bool Z3_API Z3_get_finite_domain_sort_size(Z3_context c, Z3_sort s, uint64_t *r)
Store the size of the sort in r. Return false if the call failed. That is, Z3_get_sort_kind(s) == Z3_...
def ctx_ref
Definition: z3py.py:352