LOOS  v2.3.2
loos::ResidRangeSelector Struct Reference

Predicate for selecting atoms from a range of resid's. More...

#include <Selectors.hpp>

Inheritance diagram for loos::ResidRangeSelector:
Collaboration diagram for loos::ResidRangeSelector:

Public Member Functions

 ResidRangeSelector (const int low, const int high)
 
bool operator() (const pAtom &) const
 

Public Attributes

int _low
 
int _high
 

Detailed Description

Predicate for selecting atoms from a range of resid's.

Definition at line 84 of file Selectors.hpp.

Member Function Documentation

bool loos::ResidRangeSelector::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.

Definition at line 132 of file Selectors.cpp.


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