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

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

#include <mitkNodePredicateAnd.h>

Inheritance diagram for mitk::NodePredicateAnd:
Collaboration diagram for mitk::NodePredicateAnd:

Public Types

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

Static Public Member Functions

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

 NodePredicateAnd ()
 Protected constructor, use static instantiation functions instead. More...
 
 NodePredicateAnd (const NodePredicateBase *p1, const NodePredicateBase *p2)
 Convenience constructor that adds p1 and p2 to list of child predicates Protected constructor, use static instantiation functions instead. More...
 
 NodePredicateAnd (const NodePredicateBase *p1, const NodePredicateBase *p2, const NodePredicateBase *p3)
 Convenience constructor that adds p1, p2 and p3 to list of child predicates Protected constructor, use static instantiation functions instead. 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 AND relation from its child predicates.

Definition at line 31 of file mitkNodePredicateAnd.h.

Member Typedef Documentation

Constructor & Destructor Documentation

mitk::NodePredicateAnd::~NodePredicateAnd ( )
virtual

Standard Destructor.

Definition at line 40 of file mitkNodePredicateAnd.cpp.

mitk::NodePredicateAnd::NodePredicateAnd ( )
protected

Protected constructor, use static instantiation functions instead.

Definition at line 19 of file mitkNodePredicateAnd.cpp.

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

Convenience constructor that adds p1 and p2 to list of child predicates Protected constructor, use static instantiation functions instead.

Definition at line 23 of file mitkNodePredicateAnd.cpp.

References mitk::NodePredicateCompositeBase::AddPredicate().

mitk::NodePredicateAnd::NodePredicateAnd ( const NodePredicateBase p1,
const NodePredicateBase p2,
const NodePredicateBase p3 
)
protected

Convenience constructor that adds p1, p2 and p3 to list of child predicates Protected constructor, use static instantiation functions instead.

Definition at line 30 of file mitkNodePredicateAnd.cpp.

References mitk::NodePredicateCompositeBase::AddPredicate().

Member Function Documentation

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

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

Implements mitk::NodePredicateBase.

Definition at line 44 of file mitkNodePredicateAnd.cpp.

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

Reimplemented from mitk::NodePredicateCompositeBase.

Definition at line 34 of file mitkNodePredicateAnd.h.

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

Reimplemented from mitk::NodePredicateCompositeBase.

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

Definition at line 34 of file mitkNodePredicateAnd.h.

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

Definition at line 37 of file mitkNodePredicateAnd.h.

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

Definition at line 41 of file mitkNodePredicateAnd.h.


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