41 #include "FGJSBBase.h" 47 #define ID_CONDITION "$Id: FGCondition.h,v 1.8 2015/02/27 20:36:47 bcoconni Exp $" 55 class FGPropertyManager;
56 class FGPropertyValue;
78 void PrintCondition(std::string indent=
" ");
81 enum eComparison {ecUndef=0, eEQ, eNE, eGT, eGE, eLT, eLE};
82 enum eLogic {elUndef=0, eAND, eOR};
83 std::map <std::string, eComparison> mComparison;
89 eComparison Comparison;
91 std::string conditional;
93 static std::string indent;
95 std::vector <FGCondition*> conditions;
96 void InitializeConditionals(
void);
Represents a property value which can use late binding.
Encapsulates a condition, which is used in parts of JSBSim including switches.