Vowpal Wabbit
Public Types | Public Member Functions | List of all members
sparse_iterator< T > Class Template Reference

#include <array_parameters.h>

Public Types

typedef std::forward_iterator_tag iterator_category
 
typedef T value_type
 
typedef ptrdiff_t difference_type
 
typedef T * pointer
 
typedef T & reference
 

Public Member Functions

 sparse_iterator (weight_map::iterator &iter, uint32_t stride)
 
sparse_iteratoroperator= (const sparse_iterator &other)=default
 
 sparse_iterator (const sparse_iterator &other)=default
 
sparse_iteratoroperator= (sparse_iterator &&other)=default
 
 sparse_iterator (sparse_iterator &&other)=default
 
uint64_t index ()
 
T & operator* ()
 
sparse_iteratoroperator++ ()
 
bool operator== (const sparse_iterator &rhs) const
 
bool operator!= (const sparse_iterator &rhs) const
 

Member Typedef Documentation

template<typename T >
typedef ptrdiff_t sparse_iterator< T >::difference_type
template<typename T >
typedef std::forward_iterator_tag sparse_iterator< T >::iterator_category
template<typename T >
typedef T* sparse_iterator< T >::pointer
template<typename T >
typedef T& sparse_iterator< T >::reference
template<typename T >
typedef T sparse_iterator< T >::value_type

Constructor & Destructor Documentation

template<typename T >
sparse_iterator< T >::sparse_iterator ( weight_map::iterator &  iter,
uint32_t  stride 
)
inline
template<typename T >
sparse_iterator< T >::sparse_iterator ( const sparse_iterator< T > &  other)
default
template<typename T >
sparse_iterator< T >::sparse_iterator ( sparse_iterator< T > &&  other)
default

Member Function Documentation

template<typename T >
uint64_t sparse_iterator< T >::index ( )
inline
template<typename T >
bool sparse_iterator< T >::operator!= ( const sparse_iterator< T > &  rhs) const
inline
template<typename T >
T& sparse_iterator< T >::operator* ( )
inline
template<typename T >
sparse_iterator& sparse_iterator< T >::operator++ ( )
inline
template<typename T >
sparse_iterator& sparse_iterator< T >::operator= ( const sparse_iterator< T > &  other)
default
template<typename T >
sparse_iterator& sparse_iterator< T >::operator= ( sparse_iterator< T > &&  other)
default
template<typename T >
bool sparse_iterator< T >::operator== ( const sparse_iterator< T > &  rhs) const
inline

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