LOOS  v2.3.2
loos::AtomSelector Struct Referenceabstract

Virtual base-class for selecting atoms from a group. More...

#include <AtomicGroup.hpp>

Inheritance diagram for loos::AtomSelector:

Public Member Functions

virtual bool operator() (const pAtom &atom) const =0

Detailed Description

Virtual base-class for selecting atoms from a group.

Definition at line 56 of file AtomicGroup.hpp.

Member Function Documentation

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

Implemented in loos::KernelSelector, loos::HeavySolventSelector, loos::SolventSelector, loos::OrSelector, loos::AndSelector, loos::HeavyAtomSelector, loos::HydrogenSelector, loos::NotSelector, loos::ZSliceSelector, loos::ResidRangeSelector, loos::AtomNameSelector, loos::SegidSelector, loos::BackboneSelector, loos::CAlphaSelector, and loos::IndexSelector.

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