github.com/RhysU/ar
Autoregressive process modeling tools in header-only C++
Public Types | Public Member Functions | List of all members
ar::strided_adaptor< Iterator > Class Template Reference

An adapter to add striding over another (usually random access) iterator. More...

#include <ar.hpp>

Public Types

typedef std::iterator_traits< Iterator >::iterator_category iterator_category
 
typedef std::iterator_traits< Iterator >::value_type value_type
 
typedef std::iterator_traits< Iterator >::difference_type difference_type
 
typedef std::iterator_traits< Iterator >::pointer pointer
 
typedef std::iterator_traits< Iterator >::reference reference
 

Public Member Functions

 strided_adaptor (const strided_adaptor &o)
 
 strided_adaptor (Iterator x, difference_type n)
 
strided_adaptoroperator++ ()
 
strided_adaptor operator++ (int)
 
strided_adaptoroperator+= (difference_type x)
 
strided_adaptoroperator-- ()
 
strided_adaptor operator-- (int)
 
strided_adaptoroperator-= (difference_type x)
 
reference operator[] (difference_type n)
 
reference operator* ()
 
bool operator== (const strided_adaptor &o) const
 
bool operator!= (const strided_adaptor &o) const
 
bool operator< (const strided_adaptor &o) const
 
difference_type operator- (const strided_adaptor &o) const
 
strided_adaptor operator+ (difference_type x) const
 

Detailed Description

template<class Iterator>
class ar::strided_adaptor< Iterator >

An adapter to add striding over another (usually random access) iterator.

Modified from "C++ Cookbook" by Stephens, Diggins, Turkanis, and Cogswell. Copyright 2006 O'Reilly Media, Inc., ISBN 0-596-00761-2.

Definition at line 2655 of file ar.hpp.


The documentation for this class was generated from the following file: