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::NotSelector Struct Reference

Negates a selection predicate. More...

#include <Selectors.hpp>

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

Public Member Functions

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

Public Attributes

const AtomSelectorsel
 

Detailed Description

Negates a selection predicate.

Example:

Simple matrix template class using policy classes to determine behavior.
Definition MatrixImpl.hpp:148
Negates a selection predicate.
Definition Selectors.hpp:112
Predicate for selecting atoms based on the passed segid string.
Definition Selectors.hpp:66

This will select all atoms that are NOT solvent

Member Function Documentation

◆ operator()()

bool loos::NotSelector::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: