Boost C++ Libraries

...one of the most highly regarded and expertly designed C++ library projects in the world. Herb Sutter and Andrei Alexandrescu, C++ Coding Standards

This is the documentation for an old version of boost. Click here for the latest Boost documentation.
PrevUpHomeNext

Struct template rolling_window_plus1_impl

boost::accumulators::impl::rolling_window_plus1_impl

Synopsis

// In header: <boost/accumulators/statistics/rolling_window.hpp>

template<typename Sample> 
struct rolling_window_plus1_impl : public accumulator_base {
  // types
  typedef circular_buffer< Sample >::const_iterator const_iterator;
  typedef iterator_range< const_iterator >          result_type;   

  // construct/copy/destruct
  template<typename Args> rolling_window_plus1_impl(Args const &);
  rolling_window_plus1_impl(rolling_window_plus1_impl const &);
  rolling_window_plus1_impl & operator=(rolling_window_plus1_impl const &);

  // public member functions
  template<typename Args> void operator()(Args const &);
  bool full() const;
  result_type result(dont_care) const;
  template<typename Archive> void serialize(Archive &, const unsigned int);
};

Description

rolling_window_plus1_impl public construct/copy/destruct

  1. template<typename Args> rolling_window_plus1_impl(Args const & args);
  2. rolling_window_plus1_impl(rolling_window_plus1_impl const & that);
  3. rolling_window_plus1_impl & operator=(rolling_window_plus1_impl const & that);

rolling_window_plus1_impl public member functions

  1. template<typename Args> void operator()(Args const & args);
  2. bool full() const;
  3. result_type result(dont_care) const;
  4. template<typename Archive> 
      void serialize(Archive & ar, const unsigned int version);

PrevUpHomeNext