![]() |
FMT 1.2.0
Forest management tools for forest planning
|
Comparator used to compare FMTModel with std::find_if when models are in a stl container. More...
#include <FMTModel.h>
Public Member Functions | |
| FMTModelComparator (std::string p_name) | |
| Constructor of the comparator. | |
| bool | operator() (const FMTModel &model) const |
| Return true if the given model matches the name held by the comparator. | |
Comparator used to compare FMTModel with std::find_if when models are in a stl container.
| Models::FMTModelComparator::FMTModelComparator | ( | std::string | p_name | ) |
Constructor of the comparator.
| [in] | p_name | the name of the model to check for in the stl container. |
| bool Models::FMTModelComparator::operator() | ( | const FMTModel & | model | ) | const |
Return true if the given model matches the name held by the comparator.
| [in] | model | the model to compare. |