Storage for a function pointer. More...
#include <statistics.hpp>
Public Types | |
using | fptr = T(*)(Scip *) |
Type of the function pointer to store the original call to SCIP. | |
Public Member Functions | |
T | operator() (Scip *s) const |
Returns the value of the statistics. | |
Public Attributes | |
const fptr | m_PLAIN_CALL |
Function pointer to the original SCIP call. | |
Storage for a function pointer.
T | Type of the statistics value. |
Definition at line 21 of file statistics.hpp.
using scippp::statistics::Statistic< T >::fptr = T (*)(Scip*) |
Type of the function pointer to store the original call to SCIP.
Definition at line 23 of file statistics.hpp.
|
inline |
Returns the value of the statistics.
s | Raw pointer to a C-SCIP object. |
Definition at line 32 of file statistics.hpp.
References scippp::statistics::Statistic< T >::m_PLAIN_CALL.
const fptr scippp::statistics::Statistic< T >::m_PLAIN_CALL |
Function pointer to the original SCIP call.
Definition at line 25 of file statistics.hpp.