Z3
BitVecSort.cs
Go to the documentation of this file.
1 /*++
2 Copyright (c) 2012 Microsoft Corporation
3 
4 Module Name:
5 
6  BitVecSort.cs
7 
8 Abstract:
9 
10  Z3 Managed API: BitVec 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 BitVecSort : Sort
29  {
33  public uint Size
34  {
35  get { return Native.Z3_get_bv_sort_size(Context.nCtx, NativeObject); }
36  }
37 
38  #region Internal
39  internal BitVecSort(Context ctx, IntPtr obj) : base(ctx, obj) { Contract.Requires(ctx != null); }
40  #endregion
41  };
42 }
using System
Bit-vector sorts.
Definition: BitVecSort.cs:28
static uint Z3_get_bv_sort_size(Z3_context a0, Z3_sort a1)
Definition: Native.cs:3238
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
def BitVecSort(sz, ctx=None)
Definition: z3py.py:3460