hpp-statistics 7.0.0
Classes for doing statistics.
Loading...
Searching...
No Matches
hpp::statistics::SuccessBin::Reason Struct Reference

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

Public Member Functions

 Reason (std::size_t a_id, std::string a_what)

Public Attributes

std::size_t id
std::string what

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.

Constructor & Destructor Documentation

◆ Reason()

hpp::statistics::SuccessBin::Reason::Reason(std::size_ta_id,
std::stringa_what )
inline

Member Data Documentation

◆ id

std::size_t hpp::statistics::SuccessBin::Reason::id

◆ what

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

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