LOOS 4.1.0
The Lightweight Object Oriented Structural analysis library/toolkit
|
Combines two selectors with a logical "and". More...
#include <Selectors.hpp>
Public Member Functions | |
AndSelector (const AtomSelector &x, const AtomSelector &y) | |
bool | operator() (const pAtom &pa) const |
Public Attributes | |
const AtomSelector & | lhs |
const AtomSelector & | rhs |
Combines two selectors with a logical "and".
Example:
The main_chain_protein selector will select for all atoms that are both main chain and have a segid of "PROT".
|
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.