OEFuzzy
class OEFuzzy
This class represents OEFuzzy.
The OEFuzzy class represents fuzzy logic used in expression tests.
Constructors
OEFuzzy() -> OEFuzzy
Default constructor.
OEFuzzy(v: int) -> OEFuzzy
Construct an OEFuzzy object given with an
integer value.
The integer values should be one of the values give in the
OEFuzzVal namespace.
Three pre-defined global constant fuzzy values
(OEFuzzVal_True,
OEFuzzVal_False, and
OEFuzzVal_Maybe) are define in
OEChem which represent the fuzzy values of true, false, and
maybe, respectively.
Default and copy constructors.
operator bool
IsValid() -> bool
Boolean test operator. Both fuzzy true
(OEFuzzVal_True) and maybe
(OEFuzzVal_Maybe) values will return
true. A fuzzy false(OEFuzzVal_False)
value will return false.