LOOS 4.1.0
The Lightweight Object Oriented Structural analysis library/toolkit
|
Selection predicate that executes a compiled Kernel. More...
#include <Selectors.hpp>
Public Member Functions | |
KernelSelector (Kernel &k) | |
bool | operator() (const pAtom &pa) const |
Selection predicate that executes a compiled Kernel.
This predicate takes a compiled Kernel and executes it once for each Atom. This is primarily for use in conjunction with the Parser for handling selections based on user input.
Example:
|
virtual |
Predicate function for selecting atoms. If true, then the passed Atom is selected for an operation (or addition to a new group). If false, then the passed Atom is skipped.
Implements loos::AtomSelector.