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

Predicate for selecting atoms based on the passed segid string. More...

#include <Selectors.hpp>

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

Public Member Functions

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

Public Attributes

std::string str
 

Detailed Description

Predicate for selecting atoms based on the passed segid string.

Member Function Documentation

◆ operator()()

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