Public Types | Public Member Functions

mitk::NodePredicateBase Class Reference
[Data Storage Classes]

Interface for evaluation conditions used in the DataStorage class GetSubset() method. More...

#include <mitkNodePredicateBase.h>

Inheritance diagram for mitk::NodePredicateBase:
Inheritance graph
[legend]

List of all members.

Public Types

typedef NodePredicateBase Self
typedef itk::Object Superclass
typedef itk::SmartPointer< SelfPointer
typedef itk::SmartPointer
< const Self
ConstPointer

Public Member Functions

virtual const char * GetClassName () const
virtual ~NodePredicateBase ()
 Standard Destructor.
virtual bool CheckNode (const mitk::DataNode *node) const =0
 This method will be used to evaluate the node. Has to be overwritten in subclasses.

Detailed Description

Interface for evaluation conditions used in the DataStorage class GetSubset() method.

Classes that inherit this interface can be used as predicates in the GetSubset() method of mitk::DataStorage. By combining different predicate objects, the user can form complex queries like "give me all nodes that either contain a surface object or a binary segmentation and that are tagged as Organtype == 'Liver'".

Warning:
NodePredicates are now derived from itk::Object and make thus use of the smart pointer concept. As a result predicates should only store raw pointers because for one thing they are not owners of these objects and should not keep them alive.

Definition at line 39 of file mitkNodePredicateBase.h.


Member Typedef Documentation

typedef itk::SmartPointer<const Self> mitk::NodePredicateBase::ConstPointer
typedef itk::SmartPointer<Self> mitk::NodePredicateBase::Pointer

Constructor & Destructor Documentation

mitk::NodePredicateBase::~NodePredicateBase (  ) [virtual]

Standard Destructor.

Definition at line 21 of file mitkNodePredicateBase.cpp.

{
}

Member Function Documentation

virtual bool mitk::NodePredicateBase::CheckNode ( const mitk::DataNode node ) const [pure virtual]
virtual const char* mitk::NodePredicateBase::GetClassName (  ) const [virtual]

The documentation for this class was generated from the following files:
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Defines