36 Contract.Requires(p != null);
37 Native.Z3_params_validate(
Context.nCtx, p.NativeObject, NativeObject);
45 Contract.Requires(name != null);
46 return (
Z3_param_kind)Native.Z3_param_descrs_get_kind(
Context.nCtx, NativeObject, name.NativeObject);
54 Contract.Requires(name != null);
55 return Native.Z3_param_descrs_get_documentation(
Context.nCtx, NativeObject, name.NativeObject);
65 uint sz = Native.Z3_param_descrs_size(
Context.nCtx, NativeObject);
67 for (uint i = 0; i < sz; ++i) {
68 names[i] =
Symbol.Create(
Context, Native.Z3_param_descrs_get_name(
Context.nCtx, NativeObject, i));
79 get {
return Native.Z3_param_descrs_size(
Context.nCtx, NativeObject); }
87 return Native.Z3_param_descrs_to_string(
Context.nCtx, NativeObject);
94 Contract.Requires(ctx != null);
99 public DecRefQueue() : base() { }
100 public DecRefQueue(uint move_limit) : base(move_limit) { }
101 internal override void IncRef(
Context ctx, IntPtr obj)
103 Native.Z3_param_descrs_inc_ref(ctx.nCtx, obj);
106 internal override void DecRef(
Context ctx, IntPtr obj)
108 Native.Z3_param_descrs_dec_ref(ctx.nCtx, obj);
112 internal override void IncRef(IntPtr o)
118 internal override void DecRef(IntPtr o)
void Validate(Params p)
validate a set of parameters.
override string ToString()
Retrieves a string representation of the ParamDescrs.
Z3_param_kind
The different kinds of parameters that can be associated with parameter sets. (see Z3_mk_params)...
A Params objects represents a configuration in the form of Symbol/value pairs.
A ParamDescrs describes a set of parameters.
The main interaction with Z3 happens via the Context.
string GetDocumentation(Symbol name)
Retrieve documentation of parameter.
IDecRefQueue ParamDescrs_DRQ
ParamDescrs DRQ
Internal base class for interfacing with native Z3 objects. Should not be used externally.
Z3_param_kind GetKind(Symbol name)
Retrieve kind of parameter.
Symbols are used to name several term and type constructors.