LOOS  v2.3.2
loos::IndexSelector Struct Reference

Predicate for selecting atoms based on index. More...

#include <Selectors.hpp>

Inheritance diagram for loos::IndexSelector:
Collaboration diagram for loos::IndexSelector:

Public Member Functions

 IndexSelector (const uint index)
 
bool operator() (const pAtom &pa) const
 

Public Attributes

uint _index
 

Detailed Description

Predicate for selecting atoms based on index.

Definition at line 38 of file Selectors.hpp.

Member Function Documentation

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


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