Z3
BoolSort.cs
Go to the documentation of this file.
1 /*++
2 Copyright (c) 2012 Microsoft Corporation
3 
4 Module Name:
5 
6  BoolSort.cs
7 
8 Abstract:
9 
10  Z3 Managed API: Bool Sorts
11 
12 Author:
13 
14  Christoph Wintersteiger (cwinter) 2012-11-23
15 
16 Notes:
17 
18 --*/
19 
20 using System;
21 using System.Diagnostics.Contracts;
22 
23 namespace Microsoft.Z3
24 {
28  public class BoolSort : Sort
29  {
30  #region Internal
31  internal BoolSort(Context ctx, IntPtr obj) : base(ctx, obj) { Contract.Requires(ctx != null); }
32  internal BoolSort(Context ctx) : base(ctx, Native.Z3_mk_bool_sort(ctx.nCtx)) { Contract.Requires(ctx != null); }
33  #endregion
34  };
35 }
using System
A Boolean sort.
Definition: BoolSort.cs:28
The main interaction with Z3 happens via the Context.
Definition: Context.cs:31
The Sort class implements type information for ASTs.
Definition: Sort.cs:29
static Z3_sort Z3_mk_bool_sort(Z3_context a0)
Definition: Native.cs:2162
def BoolSort(ctx=None)
Definition: z3py.py:1346