FMT 0.9.8
Forest management tools for forest planning
|
#include <FMTmodel.hpp>
Public Member Functions | |
FMTmodelcomparator (std::string name) | |
bool | operator() (const FMTmodel &model) const |
This class is made to compare FMTmodel using the std::find_if() function when FMTmodels are in a stl container.
Models::FMTmodelcomparator::FMTmodelcomparator | ( | std::string | name | ) |
Copy constructor class, (name) is the name of the model that we wish to check if it's in the stl container.
bool Models::FMTmodelcomparator::operator() | ( | const FMTmodel & | model | ) | const |