hpp::statistics::SuccessBin::Reason Struct Reference

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

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

Collaboration diagram for hpp::statistics::SuccessBin::Reason:
[legend]

List of all members.

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

hpp::statistics::SuccessBin::Reason::Reason ( std::size_t  a_id,
std::string  a_what 
) [inline]

Member Data Documentation