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

Comparator to find a FMTOperatingAreaScheme with std::find_if when operating area schemes are in an stl container. More...

#include <FMTOperatingAreaScheme.h>

Public Member Functions

 FMTOperatingAreaSchemeComparator (const Core::FMTMask &lmask)
 Construct the comparator from a mask reference.
 
bool operator() (const FMTOperatingAreaScheme &oparea) const
 Comparator for FMTOperatingAreaScheme.
 

Detailed Description

Comparator to find a FMTOperatingAreaScheme with std::find_if when operating area schemes are in an stl container.

Constructor & Destructor Documentation

◆ FMTOperatingAreaSchemeComparator()

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

Construct the comparator from a mask reference.

Parameters
[in]lmaskthe mask.

Member Function Documentation

◆ operator()()

bool Heuristics::FMTOperatingAreaSchemeComparator::operator() ( const FMTOperatingAreaScheme oparea) const

Comparator for FMTOperatingAreaScheme.

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

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