Gromacs
2020
|
#include <gromacs/topology/mtop_util.h>
Object that allows looping over all atoms in an mtop.
Public Member Functions | |
AtomIterator (const gmx_mtop_t &mtop, int globalAtomNumber=0) | |
Construct from topology and optionalally a global atom number. | |
AtomIterator & | operator++ () |
Prefix increment. | |
AtomIterator | operator++ (int) |
Postfix increment. | |
bool | operator== (const AtomIterator &o) const |
Equality comparison. | |
bool | operator!= (const AtomIterator &o) const |
Non-equal comparison. | |
AtomProxy | operator* () const |
Dereference operator. Returns proxy. | |
ProxyPtr< AtomProxy > | operator-> () const |
Member of pointer operator. | |