ALMaSS
1.2 (after EcoStack, March 2024)
The Animal, Landscape and Man Simulation System
|
A base class for summary outputs. More...
#include <VolePopulationManager.h>
Public Member Functions | |
VoleSummaryOutput (const char *a_filename, Landscape *a_land, int a_numdataINT, int a_numdataDOUBLE) | |
virtual | ~VoleSummaryOutput () |
virtual void | OPrint () |
virtual void | OPrint (int a_value) |
virtual void | OPrint (double a_value) |
virtual void | OPrint (const char *a_value) |
virtual void | OPrintEndl () |
void | ResetData () |
void | ChangeData (int a_data, int a_value) |
void | ChangeData (int a_data, double a_value) |
Protected Member Functions | |
void | OpenOutput (const char *a_filename) |
void | CloseOutput () const |
Protected Attributes | |
ofstream * | m_File |
Landscape * | m_landscape |
int | m_ndInt |
int | m_ndDouble |
int | m_dataI [100] |
double | m_dataD [100] |
A base class for summary outputs.
VoleSummaryOutput::VoleSummaryOutput | ( | const char * | a_filename, |
Landscape * | a_land, | ||
int | a_numdataINT, | ||
int | a_numdataDOUBLE | ||
) |
References m_landscape, m_ndDouble, m_ndInt, OpenOutput(), and ResetData().
|
virtual |
References CloseOutput().
void VoleSummaryOutput::ChangeData | ( | int | a_data, |
double | a_value | ||
) |
void VoleSummaryOutput::ChangeData | ( | int | a_data, |
int | a_value | ||
) |
References m_dataI.
Referenced by Vole_JuvenileMale::BeginStep(), Vole_JuvenileFemale::BeginStep(), Vole_JuvenileMale::Dispersal(), Vole_Male::Dispersal(), Vole_JuvenileFemale::Dispersal(), Vole_Male::EndStep(), Vole_JuvenileFemale::EndStep(), Vole_JuvenileMale::OnFarmEvent(), Vole_JuvenileFemale::OnFarmEvent(), Vole_JuvenileMale::OnKilled(), Vole_JuvenileFemale::OnKilled(), Vole_JuvenileFemale::Step(), and Vole_Female::Step().
|
protected |
References m_File.
Referenced by ~VoleSummaryOutput().
|
protected |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
|
virtual |
void VoleSummaryOutput::ResetData | ( | ) |
References m_dataD, m_dataI, m_ndDouble, and m_ndInt.
Referenced by Vole_Population_Manager::DoFirst(), and VoleSummaryOutput().
|
protected |
Referenced by ChangeData(), OPrint(), and ResetData().
|
protected |
Referenced by ChangeData(), OPrint(), and ResetData().
|
protected |
Referenced by CloseOutput(), OpenOutput(), OPrint(), and OPrintEndl().
|
protected |
Referenced by OPrint(), and VoleSummaryOutput().
|
protected |
Referenced by OPrint(), ResetData(), and VoleSummaryOutput().
|
protected |
Referenced by OPrint(), ResetData(), and VoleSummaryOutput().