aimsdata  5.0.5
Neuroimaging data handling
aims::SelectionExpander Class Reference

#include <aims/selection/selector.h>

Public Member Functions

 SelectionExpander (bool enabledups=false)
 
 ~SelectionExpander ()
 
void setDuplicatesEnabled (bool)
 
bool duplicatesEnabled () const
 
SelectionSet query (const SelectionSet &, const Hierarchy &) const
 
SelectionSet query (const Graph &model) const
 selects labelled model nodes More...
 
SelectionSet query (const Graph &model, const Hierarchy &) const
 
SelectionSet query (const Graph &model, const SelectionSet &) const
 
SelectionSet query (const Graph &model, const SelectionSet &, const Hierarchy &) const
 
SelectionSet query (const Graph *model, const SelectionSet *, const Hierarchy *) const
 Most generic function (accepts null pointers). More...
 
SelectionSet check (const Graph *model, const SelectionSet *, const Hierarchy *) const
 
void removeDuplicates (SelectionSet &, const Hierarchy &) const
 
void merge (SelectionSet &dst, const SelectionSet &toadd) const
 
void merge (SelectionSet &dst, const SelectionSet &toadd, const Graph *mode, const Hierarchy *nom) const
 

Detailed Description

Definition at line 74 of file selector.h.

Constructor & Destructor Documentation

◆ SelectionExpander()

aims::SelectionExpander::SelectionExpander ( bool  enabledups = false)

◆ ~SelectionExpander()

aims::SelectionExpander::~SelectionExpander ( )

Member Function Documentation

◆ check()

SelectionSet aims::SelectionExpander::check ( const Graph model,
const SelectionSet ,
const Hierarchy  
) const

◆ duplicatesEnabled()

bool aims::SelectionExpander::duplicatesEnabled ( ) const

◆ merge() [1/2]

void aims::SelectionExpander::merge ( SelectionSet dst,
const SelectionSet toadd 
) const

◆ merge() [2/2]

void aims::SelectionExpander::merge ( SelectionSet dst,
const SelectionSet toadd,
const Graph mode,
const Hierarchy nom 
) const

◆ query() [1/6]

SelectionSet aims::SelectionExpander::query ( const SelectionSet ,
const Hierarchy  
) const

◆ query() [2/6]

SelectionSet aims::SelectionExpander::query ( const Graph model) const

selects labelled model nodes

◆ query() [3/6]

SelectionSet aims::SelectionExpander::query ( const Graph model,
const Hierarchy  
) const

◆ query() [4/6]

SelectionSet aims::SelectionExpander::query ( const Graph model,
const SelectionSet  
) const

◆ query() [5/6]

SelectionSet aims::SelectionExpander::query ( const Graph model,
const SelectionSet ,
const Hierarchy  
) const

◆ query() [6/6]

SelectionSet aims::SelectionExpander::query ( const Graph model,
const SelectionSet ,
const Hierarchy  
) const

Most generic function (accepts null pointers).

The difference between query() and check() functions is that query tries to make the richest selection by populating them with the hierarchy if provided. check() only eliminates selections not conforming to the model (if given)

◆ removeDuplicates()

void aims::SelectionExpander::removeDuplicates ( SelectionSet ,
const Hierarchy  
) const

◆ setDuplicatesEnabled()

void aims::SelectionExpander::setDuplicatesEnabled ( bool  )

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