A.I.M.S


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

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

Member Function Documentation

SelectionSet aims::SelectionExpander::check ( const Graph model,
const SelectionSet ,
const Hierarchy  
) const
bool aims::SelectionExpander::duplicatesEnabled ( ) const
void aims::SelectionExpander::merge ( SelectionSet dst,
const SelectionSet toadd 
) const
void aims::SelectionExpander::merge ( SelectionSet dst,
const SelectionSet toadd,
const Graph mode,
const Hierarchy nom 
) const
SelectionSet aims::SelectionExpander::query ( const SelectionSet ,
const Hierarchy  
) const
SelectionSet aims::SelectionExpander::query ( const Graph model) const

selects labelled model nodes

SelectionSet aims::SelectionExpander::query ( const Graph model,
const Hierarchy  
) const
SelectionSet aims::SelectionExpander::query ( const Graph model,
const SelectionSet  
) const
SelectionSet aims::SelectionExpander::query ( const Graph model,
const SelectionSet ,
const Hierarchy  
) const
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)

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

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