ALMaSS Rabbit ODdox  1.1
The rabbit model description following ODdox protocol
CompareStateR Class Reference

Function to compare to TAnimal's m_CurrentStateNo. More...

Public Member Functions

bool operator() (TAnimal *A1, TAnimal *A2) const
 

Detailed Description

Function to compare to TAnimal's m_CurrentStateNo.

Definition at line 183 of file PopulationManager.cpp.

Member Function Documentation

◆ operator()()

bool CompareStateR::operator() ( TAnimal A1,
TAnimal A2 
) const
inline

Definition at line 185 of file PopulationManager.cpp.

185  {
186  return (A1->GetCurrentStateNo() > A2->GetCurrentStateNo());
187  }

References TALMaSSObject::GetCurrentStateNo().


The documentation for this class was generated from the following file:
TALMaSSObject::GetCurrentStateNo
int GetCurrentStateNo()
Returns the current state number.
Definition: populationmanager.h:121