Vowpal Wabbit
Public Types | Public Member Functions | Friends | List of all members
VW::indexed_iterator_t< IndicesT, FeaturesT, IndexT, HashT > Class Template Reference

Insertion or removal will result in this value in invalidated. More...

#include <namespaced_feature_store.h>

Public Types

using difference_type = std::ptrdiff_t
 

Public Member Functions

 indexed_iterator_t (IndicesT *indices, FeaturesT *feature_groups, IndexT *namespace_indices, HashT *namespace_hashes)
 
FeaturesT & operator* ()
 
indexed_iterator_toperator++ ()
 
indexed_iterator_toperator-- ()
 
IndexT index ()
 
HashT hash ()
 
bool operator== (const indexed_iterator_t &rhs) const
 
bool operator!= (const indexed_iterator_t &rhs) const
 

Friends

bool operator< (const indexed_iterator_t &lhs, const indexed_iterator_t &rhs)
 
bool operator> (const indexed_iterator_t &lhs, const indexed_iterator_t &rhs)
 
bool operator<= (const indexed_iterator_t &lhs, const indexed_iterator_t &rhs)
 
bool operator>= (const indexed_iterator_t &lhs, const indexed_iterator_t &rhs)
 
difference_type operator- (const indexed_iterator_t &lhs, const indexed_iterator_t &rhs)
 

Detailed Description

template<typename IndicesT, typename FeaturesT, typename IndexT, typename HashT>
class VW::indexed_iterator_t< IndicesT, FeaturesT, IndexT, HashT >

Insertion or removal will result in this value in invalidated.

Member Typedef Documentation

template<typename IndicesT , typename FeaturesT , typename IndexT , typename HashT >
using VW::indexed_iterator_t< IndicesT, FeaturesT, IndexT, HashT >::difference_type = std::ptrdiff_t

Constructor & Destructor Documentation

template<typename IndicesT , typename FeaturesT , typename IndexT , typename HashT >
VW::indexed_iterator_t< IndicesT, FeaturesT, IndexT, HashT >::indexed_iterator_t ( IndicesT *  indices,
FeaturesT *  feature_groups,
IndexT *  namespace_indices,
HashT *  namespace_hashes 
)
inline

Member Function Documentation

template<typename IndicesT , typename FeaturesT , typename IndexT , typename HashT >
HashT VW::indexed_iterator_t< IndicesT, FeaturesT, IndexT, HashT >::hash ( )
inline
template<typename IndicesT , typename FeaturesT , typename IndexT , typename HashT >
IndexT VW::indexed_iterator_t< IndicesT, FeaturesT, IndexT, HashT >::index ( )
inline
template<typename IndicesT , typename FeaturesT , typename IndexT , typename HashT >
bool VW::indexed_iterator_t< IndicesT, FeaturesT, IndexT, HashT >::operator!= ( const indexed_iterator_t< IndicesT, FeaturesT, IndexT, HashT > &  rhs) const
inline
template<typename IndicesT , typename FeaturesT , typename IndexT , typename HashT >
FeaturesT& VW::indexed_iterator_t< IndicesT, FeaturesT, IndexT, HashT >::operator* ( )
inline
template<typename IndicesT , typename FeaturesT , typename IndexT , typename HashT >
indexed_iterator_t& VW::indexed_iterator_t< IndicesT, FeaturesT, IndexT, HashT >::operator++ ( )
inline
template<typename IndicesT , typename FeaturesT , typename IndexT , typename HashT >
indexed_iterator_t& VW::indexed_iterator_t< IndicesT, FeaturesT, IndexT, HashT >::operator-- ( )
inline
template<typename IndicesT , typename FeaturesT , typename IndexT , typename HashT >
bool VW::indexed_iterator_t< IndicesT, FeaturesT, IndexT, HashT >::operator== ( const indexed_iterator_t< IndicesT, FeaturesT, IndexT, HashT > &  rhs) const
inline

Friends And Related Function Documentation

template<typename IndicesT , typename FeaturesT , typename IndexT , typename HashT >
difference_type operator- ( const indexed_iterator_t< IndicesT, FeaturesT, IndexT, HashT > &  lhs,
const indexed_iterator_t< IndicesT, FeaturesT, IndexT, HashT > &  rhs 
)
friend
template<typename IndicesT , typename FeaturesT , typename IndexT , typename HashT >
bool operator< ( const indexed_iterator_t< IndicesT, FeaturesT, IndexT, HashT > &  lhs,
const indexed_iterator_t< IndicesT, FeaturesT, IndexT, HashT > &  rhs 
)
friend
template<typename IndicesT , typename FeaturesT , typename IndexT , typename HashT >
bool operator<= ( const indexed_iterator_t< IndicesT, FeaturesT, IndexT, HashT > &  lhs,
const indexed_iterator_t< IndicesT, FeaturesT, IndexT, HashT > &  rhs 
)
friend
template<typename IndicesT , typename FeaturesT , typename IndexT , typename HashT >
bool operator> ( const indexed_iterator_t< IndicesT, FeaturesT, IndexT, HashT > &  lhs,
const indexed_iterator_t< IndicesT, FeaturesT, IndexT, HashT > &  rhs 
)
friend
template<typename IndicesT , typename FeaturesT , typename IndexT , typename HashT >
bool operator>= ( const indexed_iterator_t< IndicesT, FeaturesT, IndexT, HashT > &  lhs,
const indexed_iterator_t< IndicesT, FeaturesT, IndexT, HashT > &  rhs 
)
friend

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