Simple checker class for checking whether a certain material is of a given type (conductor, semiconductor, insulator). More...
#include <all.hpp>
Public Member Functions | |
checker (material_category_id category) | |
bool | operator() (long material_id) const |
Simple checker class for checking whether a certain material is of a given type (conductor, semiconductor, insulator).
Uses a runtime dispatch, since this checker is not considered to be performance critical, yet provides the benefit of smaller compilation times.
|
inline |
|
inline |