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

Comparator used to compare FMTTransition with std::find_if when transitions are in a std container. More...

#include <FMTTransition.h>

Public Member Functions

 FMTTransitionComparator (std::string name)
 Construct the comparator from the transition name to match.
 
bool operator() (const FMTTransition &transition) const
 Matching test operator for the comparator.
 

Detailed Description

Comparator used to compare FMTTransition with std::find_if when transitions are in a std container.

Constructor & Destructor Documentation

◆ FMTTransitionComparator()

Core::FMTTransitionComparator::FMTTransitionComparator ( std::string  name)

Construct the comparator from the transition name to match.

Parameters
[in]namethe name of the transition to match.

Member Function Documentation

◆ operator()()

bool Core::FMTTransitionComparator::operator() ( const FMTTransition transition) const

Matching test operator for the comparator.

Parameters
[in]transitionthe transition to test.
Returns
true if the transition matches else false.

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