Z3
src
api
dotnet
UninterpretedSort.cs
Go to the documentation of this file.
1
/*++
2
Copyright (c) 2012 Microsoft Corporation
3
4
Module Name:
5
6
UninterpretedSort.cs
7
8
Abstract:
9
10
Z3 Managed API: Uninterpreted 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
UninterpretedSort
:
Sort
29
{
30
#region Internal
31
internal
UninterpretedSort
(
Context
ctx, IntPtr obj)
32
: base(ctx, obj)
33
{
34
Contract.Requires(ctx != null);
35
}
36
internal
UninterpretedSort
(
Context
ctx,
Symbol
s)
37
: base(ctx, Native.Z3_mk_uninterpreted_sort(ctx.nCtx, s.NativeObject))
38
{
39
Contract.Requires(ctx != null);
40
Contract.Requires(s != null);
41
}
42
#endregion
43
}
44
}
System
System.Diagnostics
Microsoft
System.Diagnostics.Contracts
Definition:
DummyContracts.cs:21
Microsoft.Z3.Context
The main interaction with Z3 happens via the Context.
Definition:
Context.cs:32
Microsoft.Z3.Sort
The Sort class implements type information for ASTs.
Definition:
Sort.cs:29
Microsoft.Z3.UninterpretedSort
Uninterpreted Sorts
Definition:
UninterpretedSort.cs:28
Microsoft.Z3.Symbol
Symbols are used to name several term and type constructors.
Definition:
Symbol.cs:30
Generated on Sat Nov 12 2016 22:01:04 for Z3 by
1.8.12