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

Comparator used to check if two themes are the same. More...

#include <FMTTheme.h>

Public Member Functions

 FMTThemeComparator (const FMTTheme &p_lbase_theme, const bool &p_lcomparedwithpresolved=false)
 Construct the comparator from the theme to match.
 
bool operator() (const FMTTheme &p_theme) const
 Matching test operator for the comparator.
 

Detailed Description

Comparator used to check if two themes are the same.

Constructor & Destructor Documentation

◆ FMTThemeComparator()

Core::FMTThemeComparator::FMTThemeComparator ( const FMTTheme p_lbase_theme,
const bool &  p_lcomparedwithpresolved = false 
)

Construct the comparator from the theme to match.

Parameters
[in]p_lbase_themethe theme to match.
[in]p_lcomparedwithpresolvedif true compares with the presolved theme.

Member Function Documentation

◆ operator()()

bool Core::FMTThemeComparator::operator() ( const FMTTheme p_theme) const

Matching test operator for the comparator.

Parameters
[in]p_themethe theme to test.
Returns
true if the theme matches else false.

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