Package com.microsoft.z3
Class Constructor
- java.lang.Object
-
- com.microsoft.z3.Z3Object
-
- com.microsoft.z3.Constructor
-
public class Constructor extends Z3Object
Constructors are used for datatype sorts.
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description FuncDeclConstructorDecl()The function declaration of the constructor.FuncDecl[]getAccessorDecls()The function declarations of the accessorsintgetNumFields()The number of fields of the constructor.FuncDeclgetTesterDecl()The function declaration of the tester.-
Methods inherited from class com.microsoft.z3.Z3Object
arrayLength, arrayToNative
-
-
-
-
Method Detail
-
getNumFields
public int getNumFields()
The number of fields of the constructor.- Returns:
- an int
- Throws:
Z3ExceptionZ3Exception- on error
-
ConstructorDecl
public FuncDecl ConstructorDecl()
The function declaration of the constructor.- Throws:
Z3ExceptionZ3Exception- on error
-
getTesterDecl
public FuncDecl getTesterDecl()
The function declaration of the tester.- Throws:
Z3ExceptionZ3Exception- on error
-
getAccessorDecls
public FuncDecl[] getAccessorDecls()
The function declarations of the accessors- Throws:
Z3ExceptionZ3Exception- on error
-
-