libcrn  3.9.5
A document image processing library
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Public Member Functions | List of all members
crn::ClassifResult::SelectId Class Reference

Functor to select results in a container. More...

#include <CRNClassifResult.h>

+ Inheritance diagram for crn::ClassifResult::SelectId:
+ Collaboration diagram for crn::ClassifResult::SelectId:

Public Member Functions

 SelectId ()=default
 
 SelectId (int id) noexcept
 Initialization of the functor. More...
 
bool operator() (const ClassifResult &cr) const noexcept
 Functor operator. More...
 

Detailed Description

Functor to select results in a container.

Functor to select results in a container

Definition at line 85 of file CRNClassifResult.h.

Constructor & Destructor Documentation

crn::ClassifResult::SelectId::SelectId ( )
default
crn::ClassifResult::SelectId::SelectId ( int  id)
inlinenoexcept

Initialization of the functor.

Initialization of the functor

Parameters
[in]idthe class index to select

Definition at line 94 of file CRNClassifResult.h.

Member Function Documentation

bool crn::ClassifResult::SelectId::operator() ( const ClassifResult cr) const
inlinenoexcept

Functor operator.

Functor operator

Parameters
[in]cra result
Returns
true in cr.class_id = selected class index, false else

Definition at line 102 of file CRNClassifResult.h.


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