Planetary Orbital Evolution due to Tides
Orbital evolution of two objects experiencing tides
StellarEvolution::MESA::EvolutionIterator Class Reference

An iterator over the list of extracted tracks. More...

#include <MESAIO.h>

+ Collaboration diagram for StellarEvolution::MESA::EvolutionIterator:

Public Member Functions

 EvolutionIterator ()
 Create an iterator, which must have all its *_iter members set before it can be used. More...
 
 EvolutionIterator (const EvolutionIterator &orig)
 Copy orig to *this. More...
 
EvolutionIterator & operator= (const EvolutionIterator &rhs)
 Copy rhs to *this. More...
 
EvolutionIterator & operator++ ()
 Advance all iterators to the next track. More...
 
EvolutionIterator operator++ (int)
 Advance all iterators to the next track. More...
 
bool operator== (const EvolutionIterator &rhs)
 Is RHS at the same position as this? More...
 
bool operator!= (const EvolutionIterator &rhs)
 Is RHS at a different position than this? More...
 

Public Attributes

std::list< double >::iterator mass_iter
 Iterator over the masses of the tracks. More...
 
std::list< double >::iterator feh_iter
 Iterator over the masses of the tracks. More...
 
std::list< std::valarray< double > >::iterator age_iter
 Iterator over the array of ages of the tracks. More...
 
std::vector< std::list< std::valarray< double > >::iterator > quantity_iter
 Iterators over the arrays of the track quantities. More...
 

Detailed Description

An iterator over the list of extracted tracks.

Definition at line 139 of file MESAIO.h.

Constructor & Destructor Documentation

◆ EvolutionIterator() [1/2]

StellarEvolution::MESA::EvolutionIterator::EvolutionIterator ( )
inline

Create an iterator, which must have all its *_iter members set before it can be used.

Definition at line 143 of file MESAIO.h.

◆ EvolutionIterator() [2/2]

StellarEvolution::MESA::EvolutionIterator::EvolutionIterator ( const EvolutionIterator &  orig)
inline

Copy orig to *this.

Definition at line 159 of file MESAIO.h.

Member Function Documentation

◆ operator!=()

bool StellarEvolution::MESA::EvolutionIterator::operator!= ( const EvolutionIterator &  rhs)
inline

Is RHS at a different position than this?

Assumes that the iteration is over the same list of tracks.

Definition at line 185 of file MESAIO.h.

◆ operator++() [1/2]

EvolutionIterator & EvolutionIterator::operator++ ( )

Advance all iterators to the next track.

Definition at line 223 of file MESAIO.cpp.

◆ operator++() [2/2]

EvolutionIterator StellarEvolution::MESA::EvolutionIterator::operator++ ( int  )
inline

Advance all iterators to the next track.

Definition at line 173 of file MESAIO.h.

◆ operator=()

EvolutionIterator & EvolutionIterator::operator= ( const EvolutionIterator &  rhs)

Copy rhs to *this.

Definition at line 213 of file MESAIO.cpp.

◆ operator==()

bool StellarEvolution::MESA::EvolutionIterator::operator== ( const EvolutionIterator &  rhs)
inline

Is RHS at the same position as this?

Assumes that the iteration is over the same list of tracks.

Definition at line 179 of file MESAIO.h.

Member Data Documentation

◆ age_iter

std::list< std::valarray<double> >::iterator StellarEvolution::MESA::EvolutionIterator::age_iter

Iterator over the array of ages of the tracks.

Definition at line 152 of file MESAIO.h.

◆ feh_iter

std::list<double>::iterator StellarEvolution::MESA::EvolutionIterator::feh_iter

Iterator over the masses of the tracks.

Definition at line 149 of file MESAIO.h.

◆ mass_iter

std::list<double>::iterator StellarEvolution::MESA::EvolutionIterator::mass_iter

Iterator over the masses of the tracks.

Definition at line 146 of file MESAIO.h.

◆ quantity_iter

std::vector< std::list< std::valarray<double> >::iterator > StellarEvolution::MESA::EvolutionIterator::quantity_iter

Iterators over the arrays of the track quantities.

Definition at line 156 of file MESAIO.h.


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