Medical Imaging Interaction Toolkit  2021.02.99-e55a5d2f
Medical Imaging Interaction Toolkit
berry::TRUE_EVALExpression Class Reference

#include <berryExpression.h>

Inheritance diagram for berry::TRUE_EVALExpression:
Collaboration diagram for berry::TRUE_EVALExpression:

Public Member Functions

SmartPointer< const EvaluationResultEvaluate (IEvaluationContext *) const override
void CollectExpressionInfo (ExpressionInfo *) const override
- Public Member Functions inherited from berry::Expression
 berryObjectMacro (Expression)
 Expression ()
 ~Expression () override
uint HashCode () const override
virtual const ExpressionInfoComputeExpressionInfo () const
QString ToString () const override
bool operator== (const Object *object) const override
- Public Member Functions inherited from berry::Object
virtual QString GetClassName () const
virtual Reflection::TypeInfo GetTypeInfo () const
virtual QList< Reflection::TypeInfoGetSuperclasses () const
virtual void Delete ()
QDebug Print (QDebug os, Indent Indent=0) const
virtual bool operator< (const Object *) const
void Register () const
void UnRegister (bool del=true) const
int GetReferenceCount () const
void SetReferenceCount (int)
void AddDestroyListener (const MessageAbstractDelegate<> &delegate) const
void RemoveDestroyListener (const MessageAbstractDelegate<> &delegate) const

Additional Inherited Members

- Public Types inherited from berry::Object
typedef Object Self
typedef berry::SmartPointer< SelfPointer
typedef berry::SmartPointer< const SelfConstPointer
typedef berry::WeakPointer< SelfWeakPtr
typedef berry::WeakPointer< const SelfConstWeakPtr
- Static Public Member Functions inherited from berry::Object
static const char * GetStaticClassName ()
static Reflection::TypeInfo GetStaticTypeInfo ()
static QList< Reflection::TypeInfoGetStaticSuperclasses ()
- Static Public Attributes inherited from berry::Expression
static const uint HASH_CODE_NOT_COMPUTED
static const uint HASH_FACTOR
static const QString ATT_VALUE
static const Expression::Pointer TRUE_EVAL
static const Expression::Pointer FALSE_EVAL
- Protected Member Functions inherited from berry::Expression
virtual uint ComputeHashCode () const
- Protected Member Functions inherited from berry::Object
 Object ()
virtual ~Object ()
virtual QDebug PrintSelf (QDebug os, Indent indent) const
virtual QDebug PrintHeader (QDebug os, Indent indent) const
virtual QDebug PrintTrailer (QDebug os, Indent indent) const
- Static Protected Member Functions inherited from berry::Expression
static bool Equals (const QList< Expression::Pointer > &leftArray, const QList< Expression::Pointer > &rightArray)
static bool Equals (const QList< Object::Pointer > &leftArray, const QList< Object::Pointer > &rightArray)
static uint HashCode (Expression::Pointer object)
static uint HashCode (const QList< Expression::Pointer > &array)
static uint HashCode (const QList< Object::Pointer > &array)
- Protected Attributes inherited from berry::Object
QAtomicInt m_ReferenceCount
QMutex m_ReferenceCountLock

Detailed Description

Definition at line 183 of file berryExpression.h.

Member Function Documentation

◆ CollectExpressionInfo()

void berry::TRUE_EVALExpression::CollectExpressionInfo ( ExpressionInfo info) const

Collects information about this expression tree. This default implementation add the expression's type to the set of misbehaving expression types.

infothe expression information object used to collect the information

Reimplemented from berry::Expression.

Definition at line 191 of file berryExpression.h.

◆ Evaluate()

SmartPointer<const EvaluationResult> berry::TRUE_EVALExpression::Evaluate ( IEvaluationContext context) const

Evaluates this expression.

contextan evaluation context providing information like variable, name spaces, etc. necessary to evaluate this expression
the result of the expression evaluation
CoreExceptionif the evaluation failed. The concrete reason is defined by the subclass implementing this method

Implements berry::Expression.

Definition at line 186 of file berryExpression.h.

References berry::EvaluationResult::TRUE_EVAL.

The documentation for this class was generated from the following file: