theSq3Lite 10.0
Loading...
Searching...
No Matches
Sq3FunctionEF.java
Go to the documentation of this file.
1
9/* LABEL-NO */
10package jvsq3lite;
11
12// BEGIN-Sq3FunctionEF - created by 'jv_MqS.tcl -i NHI1_HOME/theSq3Lite/c/gen/c_sq3lite.meta' - DO NOT change
13
16public class Sq3FunctionEF {
17 public enum Set {
18 DETERMINISTIC (2048 ), // 0x000000800
19 DIRECTONLY (524288 ), // 0x000080000
20 SUBTYPE (1048576 ), // 0x000100000
21 INNOCUOUS (2097152 ), // 0x000200000
22 RESULT_SUBTYPE (16777216); // 0x001000000
23 public final int val;
24 Set(int val) {this.val = val;}
25 public int get() { return val; }
26 }
27 private final int flag;
28 private Sq3FunctionEF(int flg) {
29 this.flag = flg;
30 }
31 public int get() { return flag; }
32 public String toString() {
33 return Sq3Lite.FunctionEF_ToString(this);
34 }
35 public boolean equals(Sq3FunctionEF other) {
36 return this.flag == other.flag;
37 }
38 static public Sq3FunctionEF AND(Sq3FunctionEF.Set... vals) {
39 int flag = 0;
40 for (int i = 0; i < vals.length; i++) {
41 flag&=vals[i].val;
42 }
43 return new Sq3FunctionEF(flag);
44 }
45 static public Sq3FunctionEF set(int val) {
46 return Sq3Lite.FunctionEF_FromInt(val);
47 }
48}
49
50// END-Sq3FunctionEF - created by 'jv_MqS.tcl -i NHI1_HOME/theSq3Lite/c/gen/c_sq3lite.meta' - DO NOT change
Java: enum Sq3FunctionEF → C-API
boolean equals(Sq3FunctionEF other)
static Sq3FunctionEF AND(Sq3FunctionEF.Set... vals)
Sq3Lite PACKAGE - toplevel package of the Programming-Language-Micro-Kernel (PLMK) …
Definition Sq3Lite.java:125
Sq3FunctionEF
Function Flags.
static native String FunctionEF_ToString(Sq3FunctionEF value)
Java: [static] String FunctionEF_ToString(Sq3FunctionEF value) → C-API return the Sq3FunctionEF ...
static native Sq3FunctionEF FunctionEF_FromInt(int value)
Java: [static] Sq3FunctionEF FunctionEF_FromInt(int value) → C-API return the Sq3FunctionEF from...