Medical Imaging Interaction Toolkit
2024.12.99-0da743f6
Medical Imaging Interaction Toolkit
|
#include <berryExpression.h>
Public Member Functions | |
SmartPointer< const EvaluationResult > | Evaluate (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 ExpressionInfo * | ComputeExpressionInfo () 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::TypeInfo > | GetSuperclasses () 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< Self > | Pointer |
typedef berry::SmartPointer< const Self > | ConstPointer |
typedef berry::WeakPointer< Self > | WeakPtr |
typedef berry::WeakPointer< const Self > | ConstWeakPtr |
Static Public Member Functions inherited from berry::Object | |
static const char * | GetStaticClassName () |
static Reflection::TypeInfo | GetStaticTypeInfo () |
static QList< Reflection::TypeInfo > | GetStaticSuperclasses () |
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 |
Definition at line 194 of file berryExpression.h.
|
inlineoverridevirtual |
Collects information about this expression tree. This default implementation add the expression's type to the set of misbehaving expression types.
info | the expression information object used to collect the information |
Reimplemented from berry::Expression.
Definition at line 202 of file berryExpression.h.
|
inlineoverridevirtual |
Evaluates this expression.
context | an evaluation context providing information like variable, name spaces, etc. necessary to evaluate this expression |
CoreException | if the evaluation failed. The concrete reason is defined by the subclass implementing this method |
Implements berry::Expression.
Definition at line 197 of file berryExpression.h.
References berry::EvaluationResult::FALSE_EVAL.