Boost  v1.57.0
doxygen for www.boost.org
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
accumulator_set.hpp File Reference
Include dependency graph for accumulator_set.hpp:
This graph shows which files directly or indirectly include this file:

Classes

struct  boost::accumulators::detail::accumulator_visitor< Args >
 
struct  boost::accumulators::detail::accumulator_set_base
 
struct  boost::accumulators::detail::is_accumulator_set< T >
 
struct  boost::accumulators::accumulator_set< Sample, Features, Weight >
 A set of accumulators. More...
 

Namespaces

 boost
 Duration formatting facet for input.
 
 boost::accumulators
 
 boost::accumulators::detail
 

Macros

#define BOOST_ACCUMULATORS_ACCUMULATOR_SET_CTOR(z, n, _)
 INTERNAL ONLY. More...
 
#define BOOST_ACCUMULATORS_ACCUMULATOR_SET_FUN_OP(z, n, _)
 INTERNAL ONLY. More...
 
#define BOOST_ACCUMULATORS_EXTRACT_RESULT_FUN(z, n, _)
 INTERNAL ONLY. More...
 

Typedefs

typedef parameter::parameters
< parameter::required
< tag::accumulator >
, parameter::optional
< tag::sample > > 
boost::accumulators::detail::accumulator_params
 

Functions

template<typename Args >
accumulator_visitor< Args > const boost::accumulators::detail::make_accumulator_visitor (Args const &args)
 
template<typename Feature , typename AccumulatorSet >
mpl::apply< AccumulatorSet,
Feature >::type & 
boost::accumulators::find_accumulator (AccumulatorSet &acc BOOST_ACCUMULATORS_PROTO_DISABLE_IF_IS_CONST(AccumulatorSet))
 
template<typename Feature , typename AccumulatorSet >
mpl::apply< AccumulatorSet,
Feature >::type const & 
boost::accumulators::find_accumulator (AccumulatorSet const &acc)
 

Macro Definition Documentation

#define BOOST_ACCUMULATORS_ACCUMULATOR_SET_CTOR (   z,
  n,
 
)
Value:
template<BOOST_PP_ENUM_PARAMS_Z(z, n, typename A)> \
accumulator_set(BOOST_PP_ENUM_BINARY_PARAMS_Z(z, n, A, const &a)) \
: accumulators( \
accumulators_mpl_vector() \
) \
) \
) \
{ \
/* Add-ref the Features that the user has specified */ \
this->template visit_if<detail::contains_feature_of_<Features> >( \
); \
}
#define BOOST_PP_ENUM_TRAILING_PARAMS_Z(z, count, param)
Definition: enum_trailing_params.hpp:34
#define n
Definition: register_functions_iterate.hpp:7
meta::make_acc_list< Sequence >::type make_acc_list(Sequence const &seq, Args const &args)
Definition: depends_on.hpp:269
add_ref_visitor< Args > make_add_ref_visitor(Args const &args)
Definition: droppable_accumulator.hpp:57
parameter::parameters< parameter::required< tag::accumulator >, parameter::optional< tag::sample > > accumulator_params
Definition: accumulator_set.hpp:73
#define BOOST_PP_ENUM_BINARY_PARAMS_Z(z, count, p1, p2)
Definition: enum_binary_params.hpp:50
Allocator Allocator a
Definition: function_template.hpp:727
return * this
Definition: gmp.hpp:1779

INTERNAL ONLY.

#define BOOST_ACCUMULATORS_ACCUMULATOR_SET_FUN_OP (   z,
  n,
 
)
Value:
template<BOOST_PP_ENUM_PARAMS_Z(z, n, typename A)> \
{ \
this->visit( \
) \
) \
); \
}
void
Definition: is_convertible.hpp:460
#define BOOST_PP_ENUM_TRAILING_PARAMS_Z(z, count, param)
Definition: enum_trailing_params.hpp:34
accumulator_visitor< Args > const make_accumulator_visitor(Args const &args)
Definition: accumulator_set.hpp:62
#define n
Definition: register_functions_iterate.hpp:7
parameter::parameters< parameter::required< tag::accumulator >, parameter::optional< tag::sample > > accumulator_params
Definition: accumulator_set.hpp:73
#define BOOST_PP_ENUM_BINARY_PARAMS_Z(z, count, p1, p2)
Definition: enum_binary_params.hpp:50
Allocator Allocator a
Definition: function_template.hpp:727
result_type operator()()
Definition: bind_template.hpp:17
return * this
Definition: gmp.hpp:1779

INTERNAL ONLY.

#define BOOST_ACCUMULATORS_EXTRACT_RESULT_FUN (   z,
  n,
 
)
Value:
template< \
typename Feature \
, typename AccumulatorSet \
> \
AccumulatorSet const &acc \
) \
{ \
return find_accumulator<Feature>(acc).result( \
) \
); \
}
#define BOOST_PP_ENUM_TRAILING_PARAMS_Z(z, count, param)
Definition: enum_trailing_params.hpp:34
#define n
Definition: register_functions_iterate.hpp:7
parameter::parameters< parameter::required< tag::accumulator >, parameter::optional< tag::sample > > accumulator_params
Definition: accumulator_set.hpp:73
detail::safe_reaction_result result
Definition: result.hpp:91
mpl::apply< AccumulatorSet, Feature >::type::result_type extract_result(AccumulatorSet const &acc)
Allocator Allocator a
Definition: function_template.hpp:727
#define BOOST_PP_ENUM_TRAILING_BINARY_PARAMS_Z(z, count, p1, p2)
Definition: enum_trailing_binary_params.hpp:49

INTERNAL ONLY.