Medical Imaging Interaction Toolkit  2018.4.99-6a3ea89d
Medical Imaging Interaction Toolkit
mitk::NodePredicateOr Class Reference

Composite predicate that forms a logical OR relation from its child predicates. More...

#include <mitkNodePredicateOr.h>

Inheritance diagram for mitk::NodePredicateOr:
Collaboration diagram for mitk::NodePredicateOr:

Public Types

typedef NodePredicateOr 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
 
 ~NodePredicateOr () override
 Standard Destructor. More...
 
bool CheckNode (const DataNode *node) const override
 Checks, if the node fulfills any of the subpredicates conditions. More...
 
- Public Member Functions inherited from mitk::NodePredicateCompositeBase
 ~NodePredicateCompositeBase () override=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
 ~NodePredicateBase () override
 Standard Destructor. More...
 

Static Public Member Functions

static const char * GetStaticNameOfClass ()
 
static Pointer New ()
 
static Pointer New (const NodePredicateBase *_arga, const NodePredicateBase *_argb)
 
- 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

 NodePredicateOr ()
 Constructor. More...
 
 NodePredicateOr (const NodePredicateBase *p1, const NodePredicateBase *p2)
 Convenience constructor that adds p1 and p2 to list of child predicates. More...
 

Additional Inherited Members

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

Detailed Description

Composite predicate that forms a logical OR relation from its child predicates.

Definition at line 27 of file mitkNodePredicateOr.h.

Member Typedef Documentation

◆ ConstPointer

◆ Pointer

◆ Self

◆ Superclass

Constructor & Destructor Documentation

◆ ~NodePredicateOr()

mitk::NodePredicateOr::~NodePredicateOr ( )
override

Standard Destructor.

Definition at line 26 of file mitkNodePredicateOr.cpp.

◆ NodePredicateOr() [1/2]

mitk::NodePredicateOr::NodePredicateOr ( )
protected

Constructor.

Definition at line 15 of file mitkNodePredicateOr.cpp.

◆ NodePredicateOr() [2/2]

mitk::NodePredicateOr::NodePredicateOr ( const NodePredicateBase p1,
const NodePredicateBase p2 
)
protected

Convenience constructor that adds p1 and p2 to list of child predicates.

Definition at line 19 of file mitkNodePredicateOr.cpp.

References mitk::NodePredicateCompositeBase::AddPredicate().

Member Function Documentation

◆ CheckNode()

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

Checks, if the node fulfills any of the subpredicates conditions.

Implements mitk::NodePredicateBase.

Definition at line 30 of file mitkNodePredicateOr.cpp.

References mitk::NodePredicateCompositeBase::m_ChildPredicates.

◆ GetClassHierarchy()

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

Reimplemented from mitk::NodePredicateCompositeBase.

Definition at line 30 of file mitkNodePredicateOr.h.

◆ GetClassName()

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

Reimplemented from mitk::NodePredicateCompositeBase.

◆ GetStaticNameOfClass()

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

Definition at line 30 of file mitkNodePredicateOr.h.

◆ New() [1/2]

◆ New() [2/2]

static Pointer mitk::NodePredicateOr::New ( const NodePredicateBase _arga,
const NodePredicateBase _argb 
)
inlinestatic

Definition at line 32 of file mitkNodePredicateOr.h.


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