Z3
Public Member Functions
TupleSort Class Reference
+ Inheritance diagram for TupleSort:

Public Member Functions

FuncDecl mkDecl () throws Z3Exception
 
int getNumFields () throws Z3Exception
 
FuncDecl[] getFieldDecls () throws Z3Exception
 
- Public Member Functions inherited from Sort
boolean equals (Object o)
 
int hashCode ()
 
int getId () throws Z3Exception
 
Z3_sort_kind getSortKind () throws Z3Exception
 
Symbol getName () throws Z3Exception
 
String toString ()
 
- Public Member Functions inherited from AST
boolean equals (Object o)
 
int compareTo (Object other) throws Z3Exception
 
int hashCode ()
 
int getId () throws Z3Exception
 
AST translate (Context ctx) throws Z3Exception
 
Z3_ast_kind getASTKind () throws Z3Exception
 
boolean isExpr () throws Z3Exception
 
boolean isApp () throws Z3Exception
 
boolean isVar () throws Z3Exception
 
boolean isQuantifier () throws Z3Exception
 
boolean isSort () throws Z3Exception
 
boolean isFuncDecl () throws Z3Exception
 
String toString ()
 
String getSExpr () throws Z3Exception
 
- Public Member Functions inherited from Z3Object
void dispose () throws Z3Exception
 
- Public Member Functions inherited from IDisposable
void dispose () throws Z3Exception
 

Additional Inherited Members

- Protected Member Functions inherited from Sort
 Sort (Context ctx) throws Z3Exception
 
- Protected Member Functions inherited from Z3Object
void finalize () throws Z3Exception
 

Detailed Description

Tuple sorts.

Definition at line 23 of file TupleSort.java.

Member Function Documentation

FuncDecl [] getFieldDecls ( ) throws Z3Exception
inline

The field declarations.

Exceptions
Z3Exception

Definition at line 48 of file TupleSort.java.

49  {
50 
51  int n = getNumFields();
52  FuncDecl[] res = new FuncDecl[n];
53  for (int i = 0; i < n; i++)
54  res[i] = new FuncDecl(getContext(), Native.getTupleSortFieldDecl(
55  getContext().nCtx(), getNativeObject(), i));
56  return res;
57  }
int getNumFields ( ) throws Z3Exception
inline

The number of fields in the tuple.

Definition at line 39 of file TupleSort.java.

Referenced by TupleSort.getFieldDecls().

40  {
41  return Native.getTupleSortNumFields(getContext().nCtx(), getNativeObject());
42  }
FuncDecl mkDecl ( ) throws Z3Exception
inline

The constructor function of the tuple.

Exceptions
Z3Exception

Definition at line 29 of file TupleSort.java.

30  {
31 
32  return new FuncDecl(getContext(), Native.getTupleSortMkDecl(getContext()
33  .nCtx(), getNativeObject()));
34  }