|
Gromacs
2026.0-dev-20251106-2ba968f
|
#include <gromacs/topology/include/gromacs/topology/mtop_atomloops.h>
Inherits proxy_iterator_interface< AtomIterator, std::forward_iterator_tag, t_atom, AtomProxy >.
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. | |
| bool | operator== (const AtomIterator &o) const |
| Equality comparison. | |
| AtomProxy | operator* () const |
| Dereference operator. Returns proxy. | |
Friends | |
| class | AtomProxy |
1.8.5