OpenXcom  1.0
Open-source clone of the original X-Com
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
Public Member Functions | List of all members
OpenXcom::EntryCompare Class Reference

Helper class to compare entries through pointers. More...

#include <PathfindingOpenSet.h>

Public Member Functions

bool operator() (OpenSetEntry *a, OpenSetEntry *b) const
 Compares entries *a and *b. More...
 

Detailed Description

Helper class to compare entries through pointers.

Member Function Documentation

bool OpenXcom::EntryCompare::operator() ( OpenSetEntry a,
OpenSetEntry b 
) const
inline

Compares entries *a and *b.

Parameters
aPointer to first entry.
bPointer to second entry.
Returns
True if entry *b must come before *a.

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