ALMaSS Rabbit ODdox  1.00
The rabbit model description following ODdox protocol
Public Member Functions | Protected Attributes | List of all members
PopulationManagerList Class Reference

A small class to hold the pointers to active population managers. More...

#include <populationmanager.h>

Public Member Functions

 PopulationManagerList ()
 
void SetPopulation (Population_Manager *p_pm, TTypesOfPopulation a_pt)
 
Population_ManagerGetPopulation (TTypesOfPopulation a_pt)
 

Protected Attributes

Population_Managerm_populationlist [TOP_foobar]
 

Detailed Description

A small class to hold the pointers to active population managers.

Definition at line 651 of file populationmanager.h.

Constructor & Destructor Documentation

PopulationManagerList::PopulationManagerList ( )
inline

Definition at line 654 of file populationmanager.h.

References TOP_foobar.

654 { for (int i=0; i< TOP_foobar; i++) m_populationlist[i] = NULL; }
Population_Manager * m_populationlist[TOP_foobar]

Member Function Documentation

Population_Manager* PopulationManagerList::GetPopulation ( TTypesOfPopulation  a_pt)
inline

Definition at line 656 of file populationmanager.h.

656 { return m_populationlist[a_pt]; }
Population_Manager * m_populationlist[TOP_foobar]
void PopulationManagerList::SetPopulation ( Population_Manager p_pm,
TTypesOfPopulation  a_pt 
)
inline

Definition at line 655 of file populationmanager.h.

655 { m_populationlist[a_pt] = p_pm; }
Population_Manager * m_populationlist[TOP_foobar]

Member Data Documentation

Population_Manager* PopulationManagerList::m_populationlist[TOP_foobar]
protected

Definition at line 658 of file populationmanager.h.


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