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

Combines two selectors with a logical "and". More...

#include <Selectors.hpp>

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

Public Member Functions

 AndSelector (const AtomSelector &x, const AtomSelector &y)
 
bool operator() (const pAtom &pa) const
 

Public Attributes

const AtomSelectorlhs
 
const AtomSelectorrhs
 

Detailed Description

Combines two selectors with a logical "and".

Example:

Simple matrix template class using policy classes to determine behavior.
Definition MatrixImpl.hpp:148
Combines two selectors with a logical "and".
Definition Selectors.hpp:146
Predicate for selecting atoms based on the passed segid string.
Definition Selectors.hpp:66

The main_chain_protein selector will select for all atoms that are both main chain and have a segid of "PROT".

Member Function Documentation

◆ operator()()

bool loos::AndSelector::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 struct was generated from the following files: