22 #ifndef CRNCLASSIFRESULT_HEADER
23 #define CRNCLASSIFRESULT_HEADER
85 class SelectId:
public std::unary_function<const ClassifResult&, bool>
94 inline SelectId(
int id) noexcept:class_id(
id) {}
ClassifResult(int cid, const String &label, double dist, const SCObject &proto)
Constructor from prototype and label.
SelectId(int id) noexcept
Initialization of the functor.
A UTF32 character string class.
A generic classification result.
Functor to select results in a container.
bool operator<(const ClassifResult &cr) const noexcept
Comparison operator.
ClassifResult()
Default constructor.
ClassifResult(int cid, double dist, const SCObject &proto)
Constructor from prototype.
CRN_ALIAS_SMART_PTR(ImageBW)
bool operator()(const ClassifResult &cr) const noexcept
Functor operator.
ClassifResult & operator=(const ClassifResult &)=default