Boost  v1.57.0
doxygen for www.boost.org
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
boost::accumulators::extractor< Feature > Struct Template Reference

Extracts the result associated with Feature from the specified accumulator_set. More...

#include <extractor.hpp>

Classes

struct  result
 The result meta-function for determining the return type of the extractor. More...
 
struct  result< this_type(A1)>
 

Public Types

typedef extractor< Feature > this_type
 

Public Member Functions

template<typename Arg1 >
detail::extractor_result< Arg1,
Feature >::type 
operator() (Arg1 const &arg1) const
 Extract the result associated with Feature from the accumulator set. More...
 
template<typename AccumulatorSet , typename A1 >
detail::extractor_result
< AccumulatorSet, Feature >
::type 
operator() (AccumulatorSet const &acc, A1 const &a1) const
 This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts. More...
 

Detailed Description

template<typename Feature>
struct boost::accumulators::extractor< Feature >

Extracts the result associated with Feature from the specified accumulator_set.

Member Typedef Documentation

template<typename Feature>
typedef extractor<Feature> boost::accumulators::extractor< Feature >::this_type

Member Function Documentation

template<typename Feature>
template<typename Arg1 >
detail::extractor_result<Arg1, Feature>::type boost::accumulators::extractor< Feature >::operator() ( Arg1 const &  arg1) const
inline

Extract the result associated with Feature from the accumulator set.

Parameters
accThe accumulator set object from which to extract the result

References phoenix::arg1.

template<typename Feature>
template<typename AccumulatorSet , typename A1 >
detail::extractor_result<AccumulatorSet, Feature>::type boost::accumulators::extractor< Feature >::operator() ( AccumulatorSet const &  acc,
A1 const &  a1 
) const
inline

This is an overloaded member function, provided for convenience. It differs from the above function only in what argument(s) it accepts.

Parameters
a1Optional named parameter to be passed to the accumulator's result() function.

References boost::xpressive::a1, and BOOST_MPL_ASSERT.


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