LOOS  v2.3.2
loos::AtomNameSelector Struct Reference

Predicate for selecting atoms based on explicit name matching. More...

#include <Selectors.hpp>

Inheritance diagram for loos::AtomNameSelector:
Collaboration diagram for loos::AtomNameSelector:

Public Member Functions

 AtomNameSelector (const std::string &s)
 
bool operator() (const pAtom &) const
 

Public Attributes

std::string str
 

Detailed Description

Predicate for selecting atoms based on explicit name matching.

Definition at line 75 of file Selectors.hpp.

Member Function Documentation

bool loos::AtomNameSelector::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 128 of file Selectors.cpp.


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