17 #ifndef BERRYEXPRESSION_H_
18 #define BERRYEXPRESSION_H_
69 mutable uint fHashCode;
99 static bool Equals(
const QList<Expression::Pointer>& leftArray,
100 const QList<Expression::Pointer>& rightArray);
102 static bool Equals(
const QList<Object::Pointer>& leftArray,
103 const QList<Object::Pointer>& rightArray);
126 static uint HashCode(
const QList<Expression::Pointer>& array);
128 static uint HashCode(
const QList<Object::Pointer>& array);
140 virtual uint ComputeHashCode()
const;
158 virtual uint HashCode()
const override;
194 virtual QString ToString()
const override;
static const SmartPointer< const EvaluationResult > FALSE_EVAL
Light weight base class for most BlueBerry classes.
void CollectExpressionInfo(ExpressionInfo *) const override
static const uint HASH_CODE_NOT_COMPUTED
MITKCORE_EXPORT bool operator==(const InteractionEvent &a, const InteractionEvent &b)
static void info(const char *fmt,...)
SmartPointer< const EvaluationResult > Evaluate(IEvaluationContext *) const override
#define berryObjectMacro(...)
#define BERRY_EXPRESSIONS
void CollectExpressionInfo(ExpressionInfo *) const override
static const QString ATT_VALUE
SmartPointer< const EvaluationResult > Evaluate(IEvaluationContext *) const override
static const Expression::Pointer FALSE_EVAL
static const SmartPointer< const EvaluationResult > TRUE_EVAL
static const uint HASH_FACTOR
static const Expression::Pointer TRUE_EVAL