ALMaSS Rodenticide Model ODdox  1.0
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.

Member Function Documentation

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

References TALMaSSObject::GetCurrentStateNo().

186  {
187  return (A1->GetCurrentStateNo() > A2->GetCurrentStateNo());
188  }
int GetCurrentStateNo()
Returns the current state number.
Definition: PopulationManager.h:117

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