Vectors of ASTs. More...
Inheritance diagram for ASTVector:Public Member Functions | |
| void | Resize (uint newSize) |
| Resize the vector to newSize . More... | |
| void | Push (AST a) |
| Add the AST a to the back of the vector. The size is increased by 1. More... | |
| ASTVector | Translate (Context ctx) |
| Translates all ASTs in the vector to ctx . More... | |
| override string | ToString () |
| Retrieves a string representation of the vector. More... | |
| AST[] | ToArray () |
| Translates an AST vector into an AST[] More... | |
| Expr[] | ToExprArray () |
| Translates an ASTVector into an Expr[] More... | |
| BoolExpr[] | ToBoolExprArray () |
| Translates an ASTVector into a BoolExpr[] More... | |
| BitVecExpr[] | ToBitVecExprArray () |
| Translates an ASTVector into a BitVecExpr[] More... | |
| ArithExpr[] | ToArithExprArray () |
| Translates an ASTVector into a ArithExpr[] More... | |
| ArrayExpr[] | ToArrayExprArray () |
| Translates an ASTVector into a ArrayExpr[] More... | |
| DatatypeExpr[] | ToDatatypeExprArray () |
| Translates an ASTVector into a DatatypeExpr[] More... | |
| FPExpr[] | ToFPExprArray () |
| Translates an ASTVector into a FPExpr[] More... | |
| FPRMExpr[] | ToFPRMExprArray () |
| Translates an ASTVector into a FPRMExpr[] More... | |
| IntExpr[] | ToIntExprArray () |
| Translates an ASTVector into a IntExpr[] More... | |
| RealExpr[] | ToRealExprArray () |
| Translates an ASTVector into a RealExpr[] More... | |
Public Member Functions inherited from Z3Object | |
| void | Dispose () |
| Disposes of the underlying native Z3 object. More... | |
Properties | |
| uint | Size [get] |
| The size of the vector More... | |
| AST | this[uint i] [get, set] |
| Retrieves the i-th object in the vector. More... | |
Properties inherited from Z3Object | |
| Context | Context [get] |
| Access Context object More... | |
Vectors of ASTs.
Definition at line 28 of file ASTVector.cs.
|
inline |
Add the AST a to the back of the vector. The size is increased by 1.
| a | An AST |
Definition at line 73 of file ASTVector.cs.
|
inline |
Resize the vector to newSize .
| newSize | The new size of the vector. |
Definition at line 63 of file ASTVector.cs.
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
Translates an ASTVector into a BoolExpr[]
Definition at line 127 of file ASTVector.cs.
Referenced by Solver.Cube(), Fixedpoint.ParseFile(), Context.ParseSMTLIB2File(), Context.ParseSMTLIB2String(), and Fixedpoint.ParseString().
|
inline |
|
inline |
Translates an ASTVector into an Expr[]
Definition at line 115 of file ASTVector.cs.
Referenced by Model.SortUniverse().
|
inline |
|
inline |
|
inline |
|
inline |
|
inline |
Translates all ASTs in the vector to ctx .
| ctx | A context |
Definition at line 85 of file ASTVector.cs.
|
get |
The size of the vector
Definition at line 33 of file ASTVector.cs.
Referenced by ASTVector.ToArithExprArray(), ASTVector.ToArray(), ASTVector.ToArrayExprArray(), ASTVector.ToBitVecExprArray(), ASTVector.ToBoolExprArray(), ASTVector.ToDatatypeExprArray(), ASTVector.ToExprArray(), ASTVector.ToFPExprArray(), ASTVector.ToFPRMExprArray(), ASTVector.ToIntExprArray(), and ASTVector.ToRealExprArray().
|
getset |
Retrieves the i-th object in the vector.
May throw an IndexOutOfBoundsException when i is out of range.
| i | Index |
Definition at line 44 of file ASTVector.cs.