ALMaSS Rodenticide Model ODdox  1.0
CompareState Class Reference

Function to compare to TAnimal's Current behavioural state. More...

Public Member Functions

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

Detailed Description

Function to compare to TAnimal's Current behavioural state.

NB WhatState must be reimplemented by all descendents of TAnimal that use this functionality (not all do)

Member Function Documentation

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

References TAnimal::WhatState().

174  {
175  return (A1->WhatState() < A2->WhatState());
176  }
virtual int WhatState()
Definition: PopulationManager.h:259

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