LOOS  v2.3.2
loos::NotSelector Struct Reference

Negates a selection predicate. More...

#include <Selectors.hpp>

Inheritance diagram for loos::NotSelector:
Collaboration diagram for loos::NotSelector:

Public Member Functions

 NotSelector (const AtomSelector &s)
bool operator() (const pAtom &) const

Public Attributes

const AtomSelectorsel

Detailed Description

Negates a selection predicate.


SegidSelector solvsel("SOLV");
NotSelector notsolvsel(solvsel);

This will select all atoms that are NOT solvent

Definition at line 112 of file Selectors.hpp.

Member Function Documentation

bool loos::NotSelector::operator() ( const pAtom &  atom) const

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 142 of file Selectors.cpp.

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