|  | Scol standard library package
    0.3.1
    Common and usefull functions for all Scol applications | 
Boolean and Logical Standard Library API. More...
| Classes | |
| struct | BOOL | 
| Opaque internal structure. You should not call it directly, use API instead ! Be carefull, BOOL is an Scol object, not an I. It is not really a boolean.  More... | |
| Typedefs | |
| typedef struct mkBOOL | BOOL | 
| Functions | |
| _CBboolChanged (b, cbfun) | |
| Define the 'state changed' callback for a BOOL Scol object. It can be nil for no call (default). | |
| _CBboolFalse (b, cbfun) | |
| Define the 'state changed to false' callback for a BOOL Scol object. It can be nil for no call (default). | |
| _CBboolTrue (b, cbfun) | |
| Define the 'state changed to true' callback for a BOOL Scol object. It can be nil for no call (default). | |
| _CBboolUndefined (b, cbfun) | |
| Define the 'state changed to undefined' callback for a BOOL Scol object. It can be nil for no call (default). | |
| _CRbool () | |
| Create a new BOOL Scol object. | |
| _GETbool (b) | |
| Return the current value for a BOOL Scol object. | |
| _ISboolUndefined (b) | |
| Return if the current value for a BOOL Scol object is an 'undefined' state. | |
| _RESETbool (b) | |
| Perform a reset to a BOOL Scol object. The value will be 'undefined'. | |
| _SETbool (b, state) | |
| Define a new value for a BOOL Scol object. | |
| AND (v1, v2) | |
| Return the logical AND operator between two integers (&&) | |
| BAND (v1, v2) | |
| Return the bit OR operator between two integers (&) | |
| BNOT (v) | |
| Return the bit NOT operator to an integer (~) | |
| BOR (v1, v2) | |
| Return the bit OR operator between two integers (|) | |
| BXOR (v1, v2) | |
| Return the bit XOR operator between two integers (^) | |
| EQ (v1, v2) | |
| Return the EQUALITY between two value (==) | |
| FALSE () | |
| Define the FALSE value : always 0. | |
| IMP (v1, v2) | |
| Return the logical IMPLICATION. | |
| INH (v1, v2) | |
| Return the logical INHIBITION. | |
| LOWER (v1, v2) | |
| Return the LOWER operator between two integers (<) | |
| LOWEREQ (v1, v2) | |
| Return the LOWER OR EQUAL operator between two integers (<=) | |
| NEG (b) | |
| Return the NEGATION operator to an integer (-) | |
| NEQ (v1, v2) | |
| Return the NON-EQUALITY between two value (!=) | |
| NOT (b) | |
| Return the logical NOT operator to an integer (!) | |
| OR (v1, v2) | |
| Return the logical OR operator between two integers (||) | |
| SHLEFT (v1, v2) | |
| Return the bit SHIFT LEFT operator between two integers (<<) | |
| SHRIGHT (v1, v2) | |
| Return the bit SHIFT RIGHT operator between two integers (>>) | |
| TRUE () | |
| Define the TRUE value : NOT FALSE (1) | |
| UPPER (v1, v2) | |
| Return the UPPER operator between two integers (>) | |
| UPPEREQ (v1, v2) | |
| Return the UPPER OR EQUAL operator between two integers (>=) | |
Detailed Description
Boolean and Logical Standard Library API.
- Version
- 0.1
- Copyright
- GNU Lesser General Public License 2.0 or later Like C, 0 is FALSE, all other values is TRUE
Generated on Sat Jan 31 2015 19:15:42 for Scol standard library package by
 1.8.1.2
 1.8.1.2
        
        
     
          
          