Medical Imaging Interaction Toolkit
2016.11.0
Medical Imaging Interaction Toolkit
|
Base class for all predicates that can have child predicates (e.g. AND/OR) More...
#include <mitkNodePredicateCompositeBase.h>
Public Types | |
typedef NodePredicateCompositeBase | Self |
typedef NodePredicateBase | Superclass |
typedef itk::SmartPointer< Self > | Pointer |
typedef itk::SmartPointer< const Self > | ConstPointer |
typedef std::list< NodePredicateBase::ConstPointer > | ChildPredicates |
Public Types inherited from mitk::NodePredicateBase | |
typedef NodePredicateBase | Self |
typedef itk::Object | Superclass |
typedef itk::SmartPointer< Self > | Pointer |
typedef itk::SmartPointer< const Self > | ConstPointer |
Public Member Functions | |
virtual std::vector< std::string > | GetClassHierarchy () const override |
virtual const char * | GetClassName () const |
virtual | ~NodePredicateCompositeBase ()=0 |
Pure virtual (but implemented) Destructor makes NodePredicateCompositeBase an abstract class. More... | |
virtual void | AddPredicate (const NodePredicateBase *p) |
Adds a child predicate. More... | |
virtual void | RemovePredicate (const NodePredicateBase *p) |
Removes a child predicate. More... | |
virtual ChildPredicates | GetPredicates () const |
Return all child predicates (immutable). More... | |
Public Member Functions inherited from mitk::NodePredicateBase | |
virtual | ~NodePredicateBase () |
Standard Destructor. More... | |
virtual bool | CheckNode (const mitk::DataNode *node) const =0 |
This method will be used to evaluate the node. Has to be overwritten in subclasses. More... | |
Static Public Member Functions | |
static const char * | GetStaticNameOfClass () |
Static Public Member Functions inherited from mitk::NodePredicateBase | |
static const char * | GetStaticNameOfClass () |
Protected Attributes | |
ChildPredicates | m_ChildPredicates |
list of child predicates More... | |
Base class for all predicates that can have child predicates (e.g. AND/OR)
This class provides methods to add and remove child predicates. It is used for predicates that are compositions of other predicates like AND and OR.
Definition at line 32 of file mitkNodePredicateCompositeBase.h.
typedef std::list<NodePredicateBase::ConstPointer> mitk::NodePredicateCompositeBase::ChildPredicates |
Definition at line 35 of file mitkNodePredicateCompositeBase.h.
typedef itk::SmartPointer<const Self> mitk::NodePredicateCompositeBase::ConstPointer |
Definition at line 35 of file mitkNodePredicateCompositeBase.h.
Definition at line 35 of file mitkNodePredicateCompositeBase.h.
Definition at line 35 of file mitkNodePredicateCompositeBase.h.
Definition at line 35 of file mitkNodePredicateCompositeBase.h.
|
pure virtual |
Pure virtual (but implemented) Destructor makes NodePredicateCompositeBase an abstract class.
Definition at line 22 of file mitkNodePredicateCompositeBase.cpp.
|
virtual |
Adds a child predicate.
Reimplemented in mitk::NodePredicateNot.
Definition at line 26 of file mitkNodePredicateCompositeBase.cpp.
Referenced by mitk::NodePredicateNot::AddPredicate(), mitk::NodePredicateAnd::NodePredicateAnd(), and mitk::NodePredicateOr::NodePredicateOr().
|
inlineoverridevirtual |
Reimplemented from mitk::NodePredicateBase.
Reimplemented in mitk::NodePredicateAnd, mitk::NodePredicateNot, and mitk::NodePredicateOr.
Definition at line 35 of file mitkNodePredicateCompositeBase.h.
|
virtual |
Reimplemented from mitk::NodePredicateBase.
Reimplemented in mitk::NodePredicateAnd, mitk::NodePredicateNot, and mitk::NodePredicateOr.
|
virtual |
Return all child predicates (immutable).
Definition at line 36 of file mitkNodePredicateCompositeBase.cpp.
|
inlinestatic |
Definition at line 35 of file mitkNodePredicateCompositeBase.h.
|
virtual |
Removes a child predicate.
Definition at line 31 of file mitkNodePredicateCompositeBase.cpp.
|
protected |
list of child predicates
Definition at line 58 of file mitkNodePredicateCompositeBase.h.
Referenced by mitk::NodePredicateNot::NodePredicateNot().