OEFuzzy

class OEFuzzy

This class represents OEFuzzy.

The OEFuzzy class represents fuzzy logic used in expression tests.

Constructors

OEFuzzy()

Default constructor.

OEFuzzy(const unsigned int v)

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

operator bool() const

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.