Public Types | Public Member Functions | Static Public Member Functions | Protected Member Functions | Protected Attributes

mitk::NodePredicateSource Class Reference
[Data Storage Classes]

Predicate that evaluates if the given node is a direct or indirect source node of a specific node. More...

#include <mitkNodePredicateSource.h>

Inheritance diagram for mitk::NodePredicateSource:
Inheritance graph
[legend]
Collaboration diagram for mitk::NodePredicateSource:
Collaboration graph
[legend]

List of all members.

Public Types

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

Public Member Functions

virtual const char * GetClassName () const
virtual ~NodePredicateSource ()
 Standard Destructor.
virtual bool CheckNode (const mitk::DataNode *node) const
 Checks, if the node is a source node of m_BaseNode (e.g. if m_BaseNode "was created from" node)

Static Public Member Functions

static Pointer New (mitk::DataNode *_arga, bool _argb, mitk::DataStorage *_argc)

Protected Member Functions

 NodePredicateSource (mitk::DataNode *n, bool allsources, mitk::DataStorage *ds)
 Constructor - This class can either search only for direct source objects or for all source objects.

Protected Attributes

mitk::WeakPointer< mitk::DataNodem_BaseNode
bool m_SearchAllSources
mitk::WeakPointer
< mitk::DataStorage
m_DataStorage

Detailed Description

Predicate that evaluates if the given node is a direct or indirect source node of a specific node.

Warning:
This class seems to be obsolete since mitk::DataStorage::GetDerivations(). Since there is no real use case up until now, NodePredicateSource is NOT WORKING YET. If you need it working, inform us.

Definition at line 37 of file mitkNodePredicateSource.h.


Member Typedef Documentation

typedef itk::SmartPointer<const Self> mitk::NodePredicateSource::ConstPointer

Reimplemented from mitk::NodePredicateBase.

Definition at line 41 of file mitkNodePredicateSource.h.

typedef itk::SmartPointer<Self> mitk::NodePredicateSource::Pointer

Reimplemented from mitk::NodePredicateBase.

Definition at line 41 of file mitkNodePredicateSource.h.

Reimplemented from mitk::NodePredicateBase.

Definition at line 41 of file mitkNodePredicateSource.h.

Reimplemented from mitk::NodePredicateBase.

Definition at line 41 of file mitkNodePredicateSource.h.


Constructor & Destructor Documentation

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

Standard Destructor.

Definition at line 25 of file mitkNodePredicateSource.cpp.

{
}
mitk::NodePredicateSource::NodePredicateSource ( mitk::DataNode n,
bool  allsources,
mitk::DataStorage ds 
) [protected]

Constructor - This class can either search only for direct source objects or for all source objects.

Definition at line 20 of file mitkNodePredicateSource.cpp.

: NodePredicateBase(), m_BaseNode(n), m_SearchAllSources(allsources), m_DataStorage(ds)
{
}

Member Function Documentation

bool mitk::NodePredicateSource::CheckNode ( const mitk::DataNode node ) const [virtual]

Checks, if the node is a source node of m_BaseNode (e.g. if m_BaseNode "was created from" node)

Implements mitk::NodePredicateBase.

Definition at line 30 of file mitkNodePredicateSource.cpp.

{
  throw std::logic_error("NodePredicateSourceis not implemented");
}
virtual const char* mitk::NodePredicateSource::GetClassName (  ) const [virtual]

Reimplemented from mitk::NodePredicateBase.

static Pointer mitk::NodePredicateSource::New ( mitk::DataNode _arga,
bool  _argb,
mitk::DataStorage _argc 
) [inline, static]

Definition at line 42 of file mitkNodePredicateSource.h.


Member Data Documentation

Definition at line 57 of file mitkNodePredicateSource.h.

Definition at line 59 of file mitkNodePredicateSource.h.

Definition at line 58 of file mitkNodePredicateSource.h.


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