Gromacs  2021-beta2-UNCHECKED
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
List of all members | Public Member Functions | Friends
AtomIterator Class Reference

#include <gromacs/topology/mtop_util.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.
AtomIteratoroperator++ ()
 Prefix increment.
bool operator== (const AtomIterator &o) const
 Equality comparison.
AtomProxy operator* () const
 Dereference operator. Returns proxy.


class AtomProxy

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