Boost  v1.57.0
doxygen for www.boost.org
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Modules Pages
extractor.hpp File Reference
Include dependency graph for extractor.hpp:

Classes

struct  boost::accumulators::detail::accumulator_set_result< AccumulatorSet, Feature >
 
struct  boost::accumulators::detail::argument_pack_result< Args, Feature >
 
struct  boost::accumulators::detail::extractor_result< A, Feature >
 
struct  boost::accumulators::extractor< Feature >
 Extracts the result associated with Feature from the specified accumulator_set. More...
 
struct  boost::accumulators::extractor< Feature >::result< F >
 The result meta-function for determining the return type of the extractor. More...
 
struct  boost::accumulators::extractor< Feature >::result< this_type(A1)>
 

Namespaces

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

Macros

#define BOOST_ACCUMULATORS_EXTRACTOR_FUN_OP(z, n, _)
 INTERNAL ONLY. More...
 
#define BOOST_ACCUMULATORS_ARRAY_REM(Array)   BOOST_PP_TUPLE_REM_CTOR(BOOST_PP_ARRAY_SIZE(Array), BOOST_PP_ARRAY_DATA(Array))
 INTERNAL ONLY. More...
 
#define BOOST_ACCUMULATORS_SEQ_REM(Seq)   BOOST_ACCUMULATORS_ARRAY_REM(BOOST_PP_SEQ_TO_ARRAY(Seq))
 INTERNAL ONLY. More...
 
#define BOOST_ACCUMULATORS_ARGS_OP(s, data, elem)   T ## s
 INTERNAL ONLY. More...
 
#define BOOST_ACCUMULATORS_PARAMS_OP(s, data, elem)   elem T ## s
 INTERNAL ONLY. More...
 
#define BOOST_ACCUMULATORS_MAKE_FEATURE(Tag, Feature, ParamsSeq)
 INTERNAL ONLY. More...
 
#define BOOST_ACCUMULATORS_DEFINE_EXTRACTOR_FUN_IMPL(z, n, Tag, Feature, ParamsSeq)
 INTERNAL ONLY. More...
 
#define BOOST_ACCUMULATORS_DEFINE_EXTRACTOR_FUN(z, n, _)
 INTERNAL ONLY. More...
 
#define BOOST_ACCUMULATORS_DEFINE_EXTRACTOR(Tag, Feature, ParamSeq)
 

Functions

template<typename Feature , typename AccumulatorSet >
extractor_result
< AccumulatorSet, Feature >
::type 
boost::accumulators::detail::do_extract (AccumulatorSet const &acc, mpl::true_)
 
template<typename Feature , typename Args >
extractor_result< Args,
Feature >::type 
boost::accumulators::detail::do_extract (Args const &args, mpl::false_)
 

Macro Definition Documentation

#define BOOST_ACCUMULATORS_ARGS_OP (   s,
  data,
  elem 
)    T ## s

INTERNAL ONLY.

#define BOOST_ACCUMULATORS_ARRAY_REM (   Array)    BOOST_PP_TUPLE_REM_CTOR(BOOST_PP_ARRAY_SIZE(Array), BOOST_PP_ARRAY_DATA(Array))

INTERNAL ONLY.

#define BOOST_ACCUMULATORS_DEFINE_EXTRACTOR (   Tag,
  Feature,
  ParamSeq 
)
Value:
, (3, (Tag, Feature, ParamSeq)) \
)
#define BOOST_PP_REPEAT
Definition: repeat.hpp:29
#define BOOST_ACCUMULATORS_DEFINE_EXTRACTOR_FUN(z, n, _)
INTERNAL ONLY.
Definition: extractor.hpp:211
#define BOOST_PP_INC(x)
Definition: inc.hpp:24
#define BOOST_ACCUMULATORS_MAX_ARGS
The maximum number of arguments that may be specified to an accumulator_set's accumulation function...
Definition: accumulators_fwd.hpp:35
#define BOOST_ACCUMULATORS_DEFINE_EXTRACTOR_FUN (   z,
  n,
 
)
Value:
z \
, n \
)
#define BOOST_ACCUMULATORS_DEFINE_EXTRACTOR_FUN_IMPL(z, n, Tag, Feature, ParamsSeq)
INTERNAL ONLY.
Definition: extractor.hpp:190
#define n
Definition: register_functions_iterate.hpp:7
#define BOOST_PP_ARRAY_ELEM(i, array)
Definition: elem.hpp:25

INTERNAL ONLY.

#define BOOST_ACCUMULATORS_DEFINE_EXTRACTOR_FUN_IMPL (   z,
  n,
  Tag,
  Feature,
  ParamsSeq 
)
Value:
template< \
) \
, typename Arg1 \
> \
Arg1 \
, BOOST_ACCUMULATORS_MAKE_FEATURE(Tag, Feature, ParamsSeq) \
>::type \
Feature(Arg1 const &arg1 BOOST_PP_ENUM_TRAILING_BINARY_PARAMS_Z(z, n, A, const &a) ) \
{ \
typedef BOOST_ACCUMULATORS_MAKE_FEATURE(Tag, Feature, ParamsSeq) feature_type; \
return boost::accumulators::extractor<feature_type>()( \
}
#define BOOST_PP_ENUM_TRAILING_PARAMS_Z(z, count, param)
Definition: enum_trailing_params.hpp:34
Duration formatting facet for input.
Definition: accumulators_fwd.hpp:55
#define n
Definition: register_functions_iterate.hpp:7
actor< argument< 0 > > const arg1
Definition: primitives.hpp:64
#define BOOST_ACCUMULATORS_SEQ_REM(Seq)
INTERNAL ONLY.
Definition: extractor.hpp:166
#define BOOST_ACCUMULATORS_MAKE_FEATURE(Tag, Feature, ParamsSeq)
INTERNAL ONLY.
Definition: extractor.hpp:181
#define BOOST_ACCUMULATORS_PARAMS_OP(s, data, elem)
INTERNAL ONLY.
Definition: extractor.hpp:176
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
#define BOOST_PP_SEQ_TRANSFORM(op, data, seq)
Definition: transform.hpp:26

INTERNAL ONLY.

#define BOOST_ACCUMULATORS_EXTRACTOR_FUN_OP (   z,
  n,
 
)
Value:
template<BOOST_PP_ENUM_PARAMS_Z(z, n, typename A)> \
struct result<this_type(BOOST_PP_ENUM_PARAMS_Z(z, n, A))> \
: detail::extractor_result<A1, Feature> \
{}; \
> \
AccumulatorSet const &acc \
) const \
{ \
BOOST_MPL_ASSERT((detail::is_accumulator_set<AccumulatorSet>)); \
typedef typename as_feature<Feature>::type feature_type; \
return extract_result<feature_type>(acc BOOST_PP_ENUM_TRAILING_PARAMS_Z(z, n, a));\
}
#define BOOST_PP_ENUM_TRAILING_PARAMS_Z(z, count, param)
Definition: enum_trailing_params.hpp:34
void const
Definition: is_convertible.hpp:460
#define BOOST_MPL_ASSERT(pred)
Definition: assert.hpp:284
#define n
Definition: register_functions_iterate.hpp:7
#define template
Definition: instances.hpp:126
Allocator Allocator a
Definition: function_template.hpp:727
result_type operator()()
Definition: bind_template.hpp:17
adjacency_iterator typedef T::adjacency_iterator type
Definition: graph_traits.hpp:42
#define BOOST_PP_ENUM_TRAILING_BINARY_PARAMS_Z(z, count, p1, p2)
Definition: enum_trailing_binary_params.hpp:49

INTERNAL ONLY.

#define BOOST_ACCUMULATORS_MAKE_FEATURE (   Tag,
  Feature,
  ParamsSeq 
)
Value:
Tag::Feature< \
) \
>
#define BOOST_ACCUMULATORS_SEQ_REM(Seq)
INTERNAL ONLY.
Definition: extractor.hpp:166
#define BOOST_ACCUMULATORS_ARGS_OP(s, data, elem)
INTERNAL ONLY.
Definition: extractor.hpp:171
#define BOOST_PP_SEQ_TRANSFORM(op, data, seq)
Definition: transform.hpp:26

INTERNAL ONLY.

#define BOOST_ACCUMULATORS_PARAMS_OP (   s,
  data,
  elem 
)    elem T ## s

INTERNAL ONLY.

#define BOOST_ACCUMULATORS_SEQ_REM (   Seq)    BOOST_ACCUMULATORS_ARRAY_REM(BOOST_PP_SEQ_TO_ARRAY(Seq))

INTERNAL ONLY.