ALMaSS Rabbit ODdox  1.00
The rabbit model description following ODdox protocol
Public Member Functions | List of all members
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)

Definition at line 172 of file PopulationManager.cpp.

Member Function Documentation

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

Definition at line 174 of file PopulationManager.cpp.

References TAnimal::WhatState().

174  {
175  return (A1->WhatState() < A2->WhatState());
176  }
virtual int WhatState()

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