Medical Imaging Interaction Toolkit  2016.11.0
Medical Imaging Interaction Toolkit
mitk::NodePredicateNot Class Reference

Composite predicate that negates its child predicate Changed: NodePredicateNot now derives from NodePredicateCompositeBase though it really holds only one subpredicate at any time. But logically any Predicate that has one or more subpredicate is a CompositePredicate. More...

#include <mitkNodePredicateNot.h>

Inheritance diagram for mitk::NodePredicateNot:
Collaboration diagram for mitk::NodePredicateNot:

Public Types

typedef NodePredicateNot Self
 
typedef NodePredicateCompositeBase Superclass
 
typedef itk::SmartPointer< SelfPointer
 
typedef itk::SmartPointer< const SelfConstPointer
 
- Public Types inherited from mitk::NodePredicateCompositeBase
typedef NodePredicateCompositeBase Self
 
typedef NodePredicateBase Superclass
 
typedef itk::SmartPointer< SelfPointer
 
typedef itk::SmartPointer< const SelfConstPointer
 
typedef std::list< NodePredicateBase::ConstPointerChildPredicates
 
- Public Types inherited from mitk::NodePredicateBase
typedef NodePredicateBase Self
 
typedef itk::Object Superclass
 
typedef itk::SmartPointer< SelfPointer
 
typedef itk::SmartPointer< const SelfConstPointer
 

Public Member Functions

virtual std::vector< std::string > GetClassHierarchy () const override
 
virtual const char * GetClassName () const
 
virtual ~NodePredicateNot ()
 Standard Destructor. More...
 
virtual void AddPredicate (const mitk::NodePredicateBase *p) override
 Reimplemented, only one child predicate is allowed for the NOT predicate. More...
 
virtual bool CheckNode (const mitk::DataNode *node) const override
 Checks, if the node does not fulfill the child predicate condition. More...
 
- Public Member Functions inherited from mitk::NodePredicateCompositeBase
virtual ~NodePredicateCompositeBase ()=0
 Pure virtual (but implemented) Destructor makes NodePredicateCompositeBase an abstract class. 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...
 

Static Public Member Functions

static const char * GetStaticNameOfClass ()
 
static Pointer New (const mitk::NodePredicateBase *_arg)
 
- Static Public Member Functions inherited from mitk::NodePredicateCompositeBase
static const char * GetStaticNameOfClass ()
 
- Static Public Member Functions inherited from mitk::NodePredicateBase
static const char * GetStaticNameOfClass ()
 

Protected Member Functions

 NodePredicateNot (const mitk::NodePredicateBase *p)
 Constructor. More...
 

Additional Inherited Members

- Protected Attributes inherited from mitk::NodePredicateCompositeBase
ChildPredicates m_ChildPredicates
 list of child predicates More...
 

Detailed Description

Composite predicate that negates its child predicate Changed: NodePredicateNot now derives from NodePredicateCompositeBase though it really holds only one subpredicate at any time. But logically any Predicate that has one or more subpredicate is a CompositePredicate.

Definition at line 31 of file mitkNodePredicateNot.h.

Member Typedef Documentation

Constructor & Destructor Documentation

mitk::NodePredicateNot::~NodePredicateNot ( )
virtual

Standard Destructor.

Definition at line 24 of file mitkNodePredicateNot.cpp.

mitk::NodePredicateNot::NodePredicateNot ( const mitk::NodePredicateBase p)
protected

Constructor.

Definition at line 19 of file mitkNodePredicateNot.cpp.

References mitk::NodePredicateCompositeBase::m_ChildPredicates.

Member Function Documentation

void mitk::NodePredicateNot::AddPredicate ( const mitk::NodePredicateBase p)
overridevirtual

Reimplemented, only one child predicate is allowed for the NOT predicate.

Reimplemented from mitk::NodePredicateCompositeBase.

Definition at line 37 of file mitkNodePredicateNot.cpp.

References mitk::NodePredicateCompositeBase::AddPredicate().

bool mitk::NodePredicateNot::CheckNode ( const mitk::DataNode node) const
overridevirtual

Checks, if the node does not fulfill the child predicate condition.

Implements mitk::NodePredicateBase.

Definition at line 28 of file mitkNodePredicateNot.cpp.

virtual std::vector<std::string> mitk::NodePredicateNot::GetClassHierarchy ( ) const
inlineoverridevirtual

Reimplemented from mitk::NodePredicateCompositeBase.

Definition at line 34 of file mitkNodePredicateNot.h.

virtual const char* mitk::NodePredicateNot::GetClassName ( ) const
virtual

Reimplemented from mitk::NodePredicateCompositeBase.

static const char* mitk::NodePredicateNot::GetStaticNameOfClass ( )
inlinestatic

Definition at line 34 of file mitkNodePredicateNot.h.


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