ALMaSS Rodenticide ODdox  1.1
The rodenticide 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.

Member Function Documentation

◆ operator()()

bool CompareStateR::operator() ( TAnimal A1,
TAnimal A2 
) const
inline
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