|
Medical Imaging Interaction Toolkit
2025.08.00
Medical Imaging Interaction Toolkit
|
#include <berryIPropertyTester.h>


Public Member Functions | |
| berryObjectMacro (berry::IPropertyTester) | |
| ~IPropertyTester () override | |
| virtual bool | Handles (const QString &namespaze, const QString &property)=0 |
| virtual bool | IsInstantiated ()=0 |
| virtual bool | IsDeclaringPluginActive ()=0 |
| virtual IPropertyTester * | Instantiate ()=0 |
| virtual bool | Test (Object::ConstPointer receiver, const QString &property, const QList< Object::Pointer > &args, Object::Pointer expectedValue)=0 |
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 QString | ToString () const |
| virtual uint | HashCode () 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 |
| virtual bool | operator== (const Object *) 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 () |
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 |
Protected Attributes inherited from berry::Object | |
| QAtomicInt | m_ReferenceCount |
| QMutex | m_ReferenceCountLock |
A property tester can be used to add additional properties to test to an existing type.
This interface is not intended to be implemented by clients. Clients should subclass type PropertyTester.
Definition at line 38 of file berryIPropertyTester.h.
|
override |
| berry::IPropertyTester::berryObjectMacro | ( | berry::IPropertyTester | ) |
|
pure virtual |
Returns whether the property tester can handle the given property or not.
| namespaze | the name space to be considered |
| property | the property to test |
true if the tester provides an implementation for the given property; otherwise false is returned Implemented in berry::PropertyTester.
|
pure virtual |
Loads the implementation class for this property tester and returns an instance of this class.
| CoreException | if the implementation class cannot be loaded |
Implemented in berry::PropertyTester.
|
pure virtual |
Returns true if the implementation class of this property tester can be loaded. This is the case if the plug-in providing the implementation class is active. Returns false otherwise.
Implemented in berry::PropertyTester.
|
pure virtual |
Returns whether the implementation class for this property tester is loaded or not.
trueif the implementation class is loaded; false otherwise Implemented in berry::PropertyTester.
|
pure virtual |
Executes the property test determined by the parameter property.
| receiver | the receiver of the property test |
| property | the property to test |
| args | additional arguments to evaluate the property. If no arguments are specified in the test expression an array of length 0 is passed |
| expectedValue | the expected value of the property. The value is either of type java.lang.String or a boxed base type. If no value was specified in the test expressions then null is passed |
true if the property is equal to the expected value; otherwise false is returned