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


Public Member Functions | |
| berryObjectMacro (ElementHandler) | |
| ~ElementHandler () override | |
| virtual SmartPointer< Expression > | Create (ExpressionConverter *converter, SmartPointer< IConfigurationElement > config)=0 |
| virtual SmartPointer< Expression > | Create (ExpressionConverter *converter, Poco::XML::Element *element) |
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 |
Static Public Member Functions | |
| static ElementHandler::Pointer | GetDefault () |
Static Public Member Functions inherited from berry::Object | |
| static const char * | GetStaticClassName () |
| static Reflection::TypeInfo | GetStaticTypeInfo () |
| static QList< Reflection::TypeInfo > | GetStaticSuperclasses () |
Protected Member Functions | |
| virtual void | ProcessChildren (ExpressionConverter *converter, SmartPointer< IConfigurationElement > element, SmartPointer< CompositeExpression > expression) |
| virtual void | ProcessChildren (ExpressionConverter *converter, Poco::XML::Element *element, SmartPointer< CompositeExpression > expression) |
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 |
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 |
Protected Attributes inherited from berry::Object | |
| QAtomicInt | m_ReferenceCount |
| QMutex | m_ReferenceCountLock |
An element handler converts an IConfigurationElement into a corresponding expression object.
The class should be subclassed by clients wishing to provide an element handler for special expressions.
Definition at line 43 of file berryElementHandler.h.
|
override |
| berry::ElementHandler::berryObjectMacro | ( | ElementHandler | ) |
|
virtual |
Creates the corresponding expression for the given DOM element. This is an optional operation that is only required if the handler supports conversion of DOM elements.
| converter | the expression converter used to initiate the conversion process |
| element | the DOM element to convert |
| CoreException | if the conversion failed |
|
pure virtual |
Creates the corresponding expression for the given configuration element.
| converter | the expression converter used to initiate the conversion process |
| config | the configuration element to convert |
| CoreException | if the conversion failed |
|
static |
The default element handler which can cope with all XML expression elements defined by the common expression language.
|
protectedvirtual |
Converts the children of the given DOM element and adds them to the given composite expression.
Note this is an internal method and should not be called by clients.
| converter | the converter used to do the actual conversion |
| element | the DOM element for which the children are to be processed |
| expression | the composite expression representing the result of the conversion |
| CoreException | if the conversion failed |
|
protectedvirtual |
Converts the children of the given configuration element and adds them to the given composite expression.
Note this is an internal method and should not be called by clients.
| converter | the converter used to do the actual conversion |
| element | the configuration element for which the children are to be processed |
| expression | the composite expression representing the result of the conversion |
| CoreException | if the conversion failed |