Z3
src
api
dotnet
ConstructorList.cs
Go to the documentation of this file.
1
/*++
2
Copyright (c) 2012 Microsoft Corporation
3
4
Module Name:
5
6
ConstructorList.cs
7
8
Abstract:
9
10
Z3 Managed API: Constructor Lists
11
12
Author:
13
14
Christoph Wintersteiger (cwinter) 2012-11-23
15
16
Notes:
17
18
--*/
19
20
using
System
;
21
using
System
.Collections.Generic;
22
using
System
.Linq;
23
using
System
.Text;
24
25
using
System
.
Diagnostics
.
Contracts
;
26
27
namespace
Microsoft
.Z3
28
{
32
public
class
ConstructorList
:
Z3Object
33
{
37
~
ConstructorList
()
38
{
39
Native.Z3_del_constructor_list(
Context
.nCtx, NativeObject);
40
}
41
42
#region Internal
43
internal
ConstructorList
(
Context
ctx, IntPtr obj)
44
: base(ctx, obj)
45
{
46
Contract.Requires(ctx != null);
47
}
48
49
internal
ConstructorList
(
Context
ctx,
Constructor
[] constructors)
50
: base(ctx)
51
{
52
Contract.Requires(ctx != null);
53
Contract.Requires(constructors != null);
54
55
NativeObject = Native.Z3_mk_constructor_list(
Context
.nCtx, (uint)constructors.Length,
Constructor
.ArrayToNative(constructors));
56
}
57
#endregion
58
}
59
}
Microsoft.Z3.ConstructorList
Lists of constructors
Definition:
ConstructorList.cs:32
System
System.Diagnostics
Microsoft
Microsoft.Z3.Constructor
Constructors are used for datatype sorts.
Definition:
Constructor.cs:29
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.Z3Object
Internal base class for interfacing with native Z3 objects. Should not be used externally.
Definition:
Z3Object.cs:33
Generated on Sat Nov 12 2016 23:18:40 for Z3 by
1.8.12