fcml
1.2.2
|
Instruction condition. More...
#include <fcml_common.hpp>
Public Types | |
enum | ConditionType { CONDITION_O = FCML_CONDITION_O, CONDITION_B = FCML_CONDITION_B, CONDITION_E = FCML_CONDITION_E, CONDITION_BE = FCML_CONDITION_BE, CONDITION_S = FCML_CONDITION_S, CONDITION_P = FCML_CONDITION_P, CONDITION_L = FCML_CONDITION_L, CONDITION_LE = FCML_CONDITION_LE } |
See fcml_st_condition for more details. More... | |
Public Member Functions | |
Condition () | |
Creates an empty condition. More... | |
Condition (ConditionType type, bool negation=false) | |
Creates a condition for given parameters. More... | |
bool | isO () const |
Gets true the condition is of a given type. More... | |
bool | isNO () const |
Gets true the condition is of a given type. More... | |
bool | isB () const |
Gets true the condition is of a given type. More... | |
bool | isNB () const |
Gets true the condition is of a given type. More... | |
bool | isNAE () const |
Gets true the condition is of a given type. More... | |
bool | isAE () const |
Gets true the condition is of a given type. More... | |
bool | isC () const |
Gets true the condition is of a given type. More... | |
bool | isNC () const |
Gets true the condition is of a given type. More... | |
bool | isE () const |
Gets true the condition is of a given type. More... | |
bool | isZ () const |
Gets true the condition is of a given type. More... | |
bool | isNE () const |
Gets true the condition is of a given type. More... | |
bool | isNZ () const |
Gets true the condition is of a given type. More... | |
bool | isBE () const |
Gets true the condition is of a given type. More... | |
bool | isNA () const |
Gets true the condition is of a given type. More... | |
bool | isNBE () const |
Gets true the condition is of a given type. More... | |
bool | isA () const |
Gets true the condition is of a given type. More... | |
bool | isS () const |
Gets true the condition is of a given type. More... | |
bool | isNS () const |
Gets true the condition is of a given type. More... | |
bool | isP () const |
Gets true the condition is of a given type. More... | |
bool | isPE () const |
Gets true the condition is of a given type. More... | |
bool | isNP () const |
Gets true the condition is of a given type. More... | |
bool | isPO () const |
Gets true the condition is of a given type. More... | |
bool | isL () const |
Gets true the condition is of a given type. More... | |
bool | isNGE () const |
Gets true the condition is of a given type. More... | |
bool | isNL () const |
Gets true the condition is of a given type. More... | |
bool | isGE () const |
Gets true the condition is of a given type. More... | |
bool | isLE () const |
Gets true the condition is of a given type. More... | |
bool | isNG () const |
Gets true the condition is of a given type. More... | |
bool | isNLE () const |
Gets true the condition is of a given type. More... | |
bool | isG () const |
Gets true the condition is of a given type. More... | |
bool | operator== (const Condition &cond) const |
Checks if two condition are equal. More... | |
bool | operator!= (const Condition &cond) const |
Checks if two condition are equal. More... | |
ConditionType | getConditionType () const |
Gets a type of the condition. More... | |
Condition & | setConditionType (ConditionType conditionType) |
Sets condition type. More... | |
bool | isNegation () const |
Returns true if condition is negated. More... | |
Condition & | setNegation (bool isNegation) |
Sets negation flag for the condition. More... | |
Static Public Member Functions | |
static const Condition | O () |
Factory method which creates a condition of a given type. More... | |
static const Condition | NO () |
Factory method which creates a condition of a given type. More... | |
static const Condition | B () |
Factory method which creates a condition of a given type. More... | |
static const Condition | NB () |
Factory method which creates a condition of a given type. More... | |
static const Condition | NAE () |
Factory method which creates a condition of a given type. More... | |
static const Condition | AE () |
Factory method which creates a condition of a given type. More... | |
static const Condition | C () |
Factory method which creates a condition of a given type. More... | |
static const Condition | NC () |
Factory method which creates a condition of a given type. More... | |
static const Condition | E () |
Factory method which creates a condition of a given type. More... | |
static const Condition | Z () |
Factory method which creates a condition of a given type. More... | |
static const Condition | NE () |
Factory method which creates a condition of a given type. More... | |
static const Condition | NZ () |
Factory method which creates a condition of a given type. More... | |
static const Condition | BE () |
Factory method which creates a condition of a given type. More... | |
static const Condition | NA () |
Factory method which creates a condition of a given type. More... | |
static const Condition | NBE () |
Factory method which creates a condition of a given type. More... | |
static const Condition | A () |
Factory method which creates a condition of a given type. More... | |
static const Condition | S () |
Factory method which creates a condition of a given type. More... | |
static const Condition | NS () |
Factory method which creates a condition of a given type. More... | |
static const Condition | P () |
Factory method which creates a condition of a given type. More... | |
static const Condition | PE () |
Factory method which creates a condition of a given type. More... | |
static const Condition | NP () |
Factory method which creates a condition of a given type. More... | |
static const Condition | PO () |
Factory method which creates a condition of a given type. More... | |
static const Condition | L () |
Factory method which creates a condition of a given type. More... | |
static const Condition | NGE () |
Factory method which creates a condition of a given type. More... | |
static const Condition | NL () |
Factory method which creates a condition of a given type. More... | |
static const Condition | GE () |
Factory method which creates a condition of a given type. More... | |
static const Condition | LE () |
Factory method which creates a condition of a given type. More... | |
static const Condition | NG () |
Factory method which creates a condition of a given type. More... | |
static const Condition | NLE () |
Factory method which creates a condition of a given type. More... | |
static const Condition | G () |
Factory method which creates a condition of a given type. More... | |
See fcml_st_condition for more details.
|
inline |
Creates an empty condition.
|
inline |
Creates a condition for given parameters.
type | A condition type. |
negation | True in order to negate condition. |
|
inlinestatic |
Factory method which creates a condition of a given type.
|
inlinestatic |
Factory method which creates a condition of a given type.
|
inlinestatic |
Factory method which creates a condition of a given type.
|
inlinestatic |
Factory method which creates a condition of a given type.
|
inlinestatic |
Factory method which creates a condition of a given type.
|
inlinestatic |
Factory method which creates a condition of a given type.
|
inlinestatic |
Factory method which creates a condition of a given type.
|
inlinestatic |
Factory method which creates a condition of a given type.
|
inline |
Gets a type of the condition.
|
inline |
Gets true the condition is of a given type.
|
inline |
Gets true the condition is of a given type.
|
inline |
Gets true the condition is of a given type.
|
inline |
Gets true the condition is of a given type.
|
inline |
Gets true the condition is of a given type.
|
inline |
Gets true the condition is of a given type.
|
inline |
Gets true the condition is of a given type.
|
inline |
Gets true the condition is of a given type.
|
inline |
Gets true the condition is of a given type.
|
inline |
Gets true the condition is of a given type.
|
inline |
Gets true the condition is of a given type.
|
inline |
Gets true the condition is of a given type.
|
inline |
Gets true the condition is of a given type.
|
inline |
Gets true the condition is of a given type.
|
inline |
Gets true the condition is of a given type.
|
inline |
Gets true the condition is of a given type.
|
inline |
Returns true if condition is negated.
|
inline |
Gets true the condition is of a given type.
|
inline |
Gets true the condition is of a given type.
|
inline |
Gets true the condition is of a given type.
|
inline |
Gets true the condition is of a given type.
|
inline |
Gets true the condition is of a given type.
|
inline |
Gets true the condition is of a given type.
|
inline |
Gets true the condition is of a given type.
|
inline |
Gets true the condition is of a given type.
|
inline |
Gets true the condition is of a given type.
|
inline |
Gets true the condition is of a given type.
|
inline |
Gets true the condition is of a given type.
|
inline |
Gets true the condition is of a given type.
|
inline |
Gets true the condition is of a given type.
|
inline |
Gets true the condition is of a given type.
|
inlinestatic |
Factory method which creates a condition of a given type.
|
inlinestatic |
Factory method which creates a condition of a given type.
|
inlinestatic |
Factory method which creates a condition of a given type.
|
inlinestatic |
Factory method which creates a condition of a given type.
|
inlinestatic |
Factory method which creates a condition of a given type.
|
inlinestatic |
Factory method which creates a condition of a given type.
|
inlinestatic |
Factory method which creates a condition of a given type.
|
inlinestatic |
Factory method which creates a condition of a given type.
|
inlinestatic |
Factory method which creates a condition of a given type.
|
inlinestatic |
Factory method which creates a condition of a given type.
|
inlinestatic |
Factory method which creates a condition of a given type.
|
inlinestatic |
Factory method which creates a condition of a given type.
|
inlinestatic |
Factory method which creates a condition of a given type.
|
inlinestatic |
Factory method which creates a condition of a given type.
|
inlinestatic |
Factory method which creates a condition of a given type.
|
inlinestatic |
Factory method which creates a condition of a given type.
|
inlinestatic |
Factory method which creates a condition of a given type.
|
inline |
Checks if two condition are equal.
cond | The condition to be compared to the current one. |
|
inline |
Checks if two condition are equal.
cond | The condition to be compared to the current one. |
|
inlinestatic |
Factory method which creates a condition of a given type.
|
inlinestatic |
Factory method which creates a condition of a given type.
|
inlinestatic |
Factory method which creates a condition of a given type.
|
inlinestatic |
Factory method which creates a condition of a given type.
|
inline |
Sets condition type.
conditionType | The condition type to be set. |
|
inline |
Sets negation flag for the condition.
isNegation | The negation flag. |
|
inlinestatic |
Factory method which creates a condition of a given type.