LOOS 4.1.0
The Lightweight Object Oriented Structural analysis library/toolkit
Loading...
Searching...
No Matches
Public Member Functions | List of all members
loos::KernelSelector Class Reference

Selection predicate that executes a compiled Kernel. More...

#include <Selectors.hpp>

Inheritance diagram for loos::KernelSelector:
Inheritance graph
[legend]
Collaboration diagram for loos::KernelSelector:
Collaboration graph
[legend]

Public Member Functions

 KernelSelector (Kernel &k)
 
bool operator() (const pAtom &pa) const
 

Detailed Description

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:

Parser parsed(selection_string);
KernelSelector sel(parsed.kernel());
Selection predicate that executes a compiled Kernel.
Definition Selectors.hpp:219
Simple matrix template class using policy classes to determine behavior.
Definition MatrixImpl.hpp:148
Front-end to the Bison/Flex parser.
Definition Parser.hpp:89

Member Function Documentation

◆ operator()()

bool loos::KernelSelector::operator() ( const pAtom & atom) const
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.


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