Our own simple iterator for stepping over all managed atoms. More...
|Iterator (const AtomicGroup &grp)|
Our own simple iterator for stepping over all managed atoms.
Note that the shared atom returned is a copy of the shared-atom pointer stored, rather than a ref to the shared atom pointer... You should exercise GREAT care in modifying the atom while iterating, or performing any operations that modify the group you're iterating over. In fact, don't do it, unless you are sure you know what you're doing.