LOOS 4.1.0
The Lightweight Object Oriented Structural analysis library/toolkit
Loading...
Searching...
No Matches
Public Member Functions | List of all members
loos::AtomicGroup::Iterator Class Reference

Our own simple iterator for stepping over all managed atoms. More...

#include <AtomicGroup.hpp>

Public Member Functions

 Iterator (const AtomicGroup &grp)
 
pAtom operator() (void)
 

Detailed Description

Our own simple iterator for stepping over all managed atoms.

Example:

pAtom p;
while (p = iter())
Our own simple iterator for stepping over all managed atoms.
Definition AtomicGroup.hpp:599
Simple matrix template class using policy classes to determine behavior.
Definition MatrixImpl.hpp:148

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.


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