Computer Assisted Medical Intervention Tool Kit  version 5.1
 
Loading...
Searching...
No Matches
AtomIterator Class Reference

Allow iteration over a set of atoms given by a target list (component name or index list) More...

#include <AtomIterator.h>

Public Member Functions

 AtomIterator (PhysicalModel *pml, std::string targetList)
 constructor
 
void begin ()
 place iterator on first atom
 
AtomcurrentAtom ()
 return current atom
 
bool end ()
 return true if iterator is over the last atom
 
void next ()
 if iteration is not finished, advance to next atom
 
void operator++ ()
 redefinition of ++ operator, advance iterator to next atom
 
 ~AtomIterator ()=default
 destructor
 

Detailed Description

Allow iteration over a set of atoms given by a target list (component name or index list)

Constructor & Destructor Documentation

◆ AtomIterator()

◆ ~AtomIterator()

AtomIterator::~AtomIterator ( )
default

destructor

Member Function Documentation

◆ begin()

◆ currentAtom()

◆ end()

◆ next()

◆ operator++()

void AtomIterator::operator++ ( )

redefinition of ++ operator, advance iterator to next atom

References end().


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