Public Member Functions | List of all members
mirtk::data::Selector Class Referenceabstract

Base class of data selectors. More...

#include <DataSelection.h>

Inheritance diagram for mirtk::data::Selector:
Inheritance graph
Collaboration diagram for mirtk::data::Selector:
Collaboration graph

Public Member Functions

virtual Selection Evaluate (const Array< double > &values) const =0
 
virtual ~Selector ()
 Destructor.
 
- Public Member Functions inherited from mirtk::Object
virtual const char * NameOfClass () const =0
 Get name of class, which this object is an instance of.
 
virtual ParameterList Parameter () const
 Get parameter name/value pairs.
 
bool Parameter (const ParameterList &)
 Set parameters from name/value pairs.
 
virtual bool Set (const char *name, const char *value)
 
virtual ~Object ()
 Destructor.
 

Additional Inherited Members

- Static Public Member Functions inherited from mirtk::Object
static const char * NameOfType ()
 Get name of this class type.
 
- Protected Member Functions inherited from mirtk::Object
template<typename... Args>
void Throw (ErrorType err, const char *func, Args... args) const
 
- Static Protected Member Functions inherited from mirtk::Object
template<typename... Args>
static void ThrowStatic (ErrorType err, const char *cls, const char *func, Args... args)
 

Detailed Description

Base class of data selectors.

Definition at line 36 of file DataSelection.h.

Member Function Documentation

§ Evaluate()

virtual Selection mirtk::data::Selector::Evaluate ( const Array< double > &  values) const
pure virtual

Run selection query and return IDs of selected data points

Parameters
[in]valuesValues of the n data points.
Returns
Set of IDs of the selected data points.

Implemented in mirtk::data::SelectionCriterium, mirtk::data::LogicalOr, and mirtk::data::LogicalAnd.


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