argos::SEntityComparator Struct Reference

A generic entity comparator, used in containers that must be ordered deterministically. More...

#include <entity.h>

Public Member Functions

bool operator() (const CEntity *pc_a, const CEntity *pc_b) const
 
bool operator() (const CEntity &c_a, const CEntity &c_b) const
 

Detailed Description

A generic entity comparator, used in containers that must be ordered deterministically.

Definition at line 318 of file entity.h.

Member Function Documentation

bool argos::SEntityComparator::operator() ( const CEntity pc_a,
const CEntity pc_b 
) const
inline

Definition at line 319 of file entity.h.

bool argos::SEntityComparator::operator() ( const CEntity c_a,
const CEntity c_b 
) const
inline

Definition at line 322 of file entity.h.