FMT 1.2.0
Forest management tools for forest planning
Loading...
Searching...
No Matches
Public Member Functions | List of all members
Heuristics::FMTOperatingAreaComparator Class Reference

Comparator to find a FMTOperatingArea with std::find_if when operating areas are in an stl container. More...

#include <FMTOperatingArea.h>

Public Member Functions

 FMTOperatingAreaComparator (const Core::FMTMask &lmask)
 Construct the comparator from a mask reference.
 
 FMTOperatingAreaComparator (const FMTOperatingArea &oparea)
 Construct the comparator from an operating area.
 
bool operator() (const FMTOperatingArea &oparea) const
 Comparator for FMTOperatingArea.
 

Detailed Description

Comparator to find a FMTOperatingArea with std::find_if when operating areas are in an stl container.

Constructor & Destructor Documentation

◆ FMTOperatingAreaComparator() [1/2]

Heuristics::FMTOperatingAreaComparator::FMTOperatingAreaComparator ( const Core::FMTMask lmask)

Construct the comparator from a mask reference.

Parameters
[in]lmaskthe mask.

◆ FMTOperatingAreaComparator() [2/2]

Heuristics::FMTOperatingAreaComparator::FMTOperatingAreaComparator ( const FMTOperatingArea oparea)

Construct the comparator from an operating area.

Parameters
[in]opareathe operating area.

Member Function Documentation

◆ operator()()

bool Heuristics::FMTOperatingAreaComparator::operator() ( const FMTOperatingArea oparea) const

Comparator for FMTOperatingArea.

Parameters
[in]opareathe operating area to compare to.
Returns
true if the operating area matches else false.

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