hpp::statistics::SuccessBin::Reason Class Reference

In case of failure, you can provide a reason. More...

#include <hpp/statistics/success-bin.hh>

Collaboration diagram for hpp::statistics::SuccessBin::Reason:

Public Attributes

unsigned int id
 
std::string what
 

Friends

Reason SuccessBin::createReason (const std::string &)
 

Detailed Description

In case of failure, you can provide a reason.

Use macro DEFINE_REASON_FAILURE (REASON_NAME, Reason string) to define a new reason.

Friends And Related Function Documentation

◆ SuccessBin::createReason

Reason SuccessBin::createReason ( const std::string &  )
friend

Member Data Documentation

◆ id

unsigned int hpp::statistics::SuccessBin::Reason::id

◆ what

std::string hpp::statistics::SuccessBin::Reason::what