Vowpal Wabbit
Public Types | Public Member Functions | Friends | List of all members
audit_features_iterator< feature_value_type_t, feature_index_type_t, audit_type_t > Class Template Referencefinal

#include <feature_group.h>

Public Types

using iterator_category = std::random_access_iterator_tag
 
using difference_type = std::ptrdiff_t
 
using value_type = audit_features_iterator< feature_value_type_t, feature_index_type_t, audit_type_t >
 
using pointer = value_type *
 
using reference = value_type &
 
using const_reference = const value_type &
 

Public Member Functions

 audit_features_iterator ()
 
 audit_features_iterator (feature_value_type_t *begin_values, feature_index_type_t *begin_indices, audit_type_t *begin_audit)
 
 audit_features_iterator (const audit_features_iterator &)=default
 
audit_features_iteratoroperator= (const audit_features_iterator &)=default
 
 audit_features_iterator (audit_features_iterator &&)=default
 
audit_features_iteratoroperator= (audit_features_iterator &&)=default
 
feature_value_type_t & value ()
 
const feature_value_type_t & value () const
 
feature_index_type_t & index ()
 
const feature_index_type_t & index () const
 
audit_type_t * audit ()
 
const audit_type_t * audit () const
 
reference operator* ()
 
const_reference operator* () const
 
audit_features_iteratoroperator++ ()
 
audit_features_iteratoroperator+= (difference_type diff)
 
audit_features_iteratoroperator-= (difference_type diff)
 

Friends

struct features
 
audit_features_iterator< feature_value_type_t, feature_index_type_t, audit_type_t > operator+ (const audit_features_iterator &lhs, difference_type rhs)
 
audit_features_iterator< feature_value_type_t, feature_index_type_t, audit_type_t > operator+ (difference_type lhs, const audit_features_iterator &rhs)
 
difference_type operator- (const audit_features_iterator &lhs, const audit_features_iterator &rhs)
 
audit_features_iterator< feature_value_type_t, feature_index_type_t, audit_type_t > operator- (const audit_features_iterator &lhs, difference_type rhs)
 
bool operator< (const audit_features_iterator &lhs, const audit_features_iterator &rhs)
 
bool operator> (const audit_features_iterator &lhs, const audit_features_iterator &rhs)
 
bool operator<= (const audit_features_iterator &lhs, const audit_features_iterator &rhs)
 
bool operator>= (const audit_features_iterator &lhs, const audit_features_iterator &rhs)
 
bool operator== (const audit_features_iterator &lhs, const audit_features_iterator &rhs)
 
bool operator!= (const audit_features_iterator &lhs, const audit_features_iterator &rhs)
 
void swap (audit_features_iterator &lhs, audit_features_iterator &rhs)
 

Member Typedef Documentation

template<typename feature_value_type_t , typename feature_index_type_t , typename audit_type_t >
using audit_features_iterator< feature_value_type_t, feature_index_type_t, audit_type_t >::const_reference = const value_type&
template<typename feature_value_type_t , typename feature_index_type_t , typename audit_type_t >
using audit_features_iterator< feature_value_type_t, feature_index_type_t, audit_type_t >::difference_type = std::ptrdiff_t
template<typename feature_value_type_t , typename feature_index_type_t , typename audit_type_t >
using audit_features_iterator< feature_value_type_t, feature_index_type_t, audit_type_t >::iterator_category = std::random_access_iterator_tag
template<typename feature_value_type_t , typename feature_index_type_t , typename audit_type_t >
using audit_features_iterator< feature_value_type_t, feature_index_type_t, audit_type_t >::pointer = value_type*
template<typename feature_value_type_t , typename feature_index_type_t , typename audit_type_t >
using audit_features_iterator< feature_value_type_t, feature_index_type_t, audit_type_t >::reference = value_type&
template<typename feature_value_type_t , typename feature_index_type_t , typename audit_type_t >
using audit_features_iterator< feature_value_type_t, feature_index_type_t, audit_type_t >::value_type = audit_features_iterator<feature_value_type_t, feature_index_type_t, audit_type_t>

Constructor & Destructor Documentation

template<typename feature_value_type_t , typename feature_index_type_t , typename audit_type_t >
audit_features_iterator< feature_value_type_t, feature_index_type_t, audit_type_t >::audit_features_iterator ( )
inline
template<typename feature_value_type_t , typename feature_index_type_t , typename audit_type_t >
audit_features_iterator< feature_value_type_t, feature_index_type_t, audit_type_t >::audit_features_iterator ( feature_value_type_t *  begin_values,
feature_index_type_t *  begin_indices,
audit_type_t *  begin_audit 
)
inline
template<typename feature_value_type_t , typename feature_index_type_t , typename audit_type_t >
audit_features_iterator< feature_value_type_t, feature_index_type_t, audit_type_t >::audit_features_iterator ( const audit_features_iterator< feature_value_type_t, feature_index_type_t, audit_type_t > &  )
default
template<typename feature_value_type_t , typename feature_index_type_t , typename audit_type_t >
audit_features_iterator< feature_value_type_t, feature_index_type_t, audit_type_t >::audit_features_iterator ( audit_features_iterator< feature_value_type_t, feature_index_type_t, audit_type_t > &&  )
default

Member Function Documentation

template<typename feature_value_type_t , typename feature_index_type_t , typename audit_type_t >
audit_type_t* audit_features_iterator< feature_value_type_t, feature_index_type_t, audit_type_t >::audit ( )
inline
template<typename feature_value_type_t , typename feature_index_type_t , typename audit_type_t >
const audit_type_t* audit_features_iterator< feature_value_type_t, feature_index_type_t, audit_type_t >::audit ( ) const
inline
template<typename feature_value_type_t , typename feature_index_type_t , typename audit_type_t >
feature_index_type_t& audit_features_iterator< feature_value_type_t, feature_index_type_t, audit_type_t >::index ( )
inline
template<typename feature_value_type_t , typename feature_index_type_t , typename audit_type_t >
const feature_index_type_t& audit_features_iterator< feature_value_type_t, feature_index_type_t, audit_type_t >::index ( ) const
inline
template<typename feature_value_type_t , typename feature_index_type_t , typename audit_type_t >
reference audit_features_iterator< feature_value_type_t, feature_index_type_t, audit_type_t >::operator* ( )
inline
template<typename feature_value_type_t , typename feature_index_type_t , typename audit_type_t >
const_reference audit_features_iterator< feature_value_type_t, feature_index_type_t, audit_type_t >::operator* ( ) const
inline
template<typename feature_value_type_t , typename feature_index_type_t , typename audit_type_t >
audit_features_iterator& audit_features_iterator< feature_value_type_t, feature_index_type_t, audit_type_t >::operator++ ( )
inline
template<typename feature_value_type_t , typename feature_index_type_t , typename audit_type_t >
audit_features_iterator& audit_features_iterator< feature_value_type_t, feature_index_type_t, audit_type_t >::operator+= ( difference_type  diff)
inline
template<typename feature_value_type_t , typename feature_index_type_t , typename audit_type_t >
audit_features_iterator& audit_features_iterator< feature_value_type_t, feature_index_type_t, audit_type_t >::operator-= ( difference_type  diff)
inline
template<typename feature_value_type_t , typename feature_index_type_t , typename audit_type_t >
audit_features_iterator& audit_features_iterator< feature_value_type_t, feature_index_type_t, audit_type_t >::operator= ( const audit_features_iterator< feature_value_type_t, feature_index_type_t, audit_type_t > &  )
default
template<typename feature_value_type_t , typename feature_index_type_t , typename audit_type_t >
audit_features_iterator& audit_features_iterator< feature_value_type_t, feature_index_type_t, audit_type_t >::operator= ( audit_features_iterator< feature_value_type_t, feature_index_type_t, audit_type_t > &&  )
default
template<typename feature_value_type_t , typename feature_index_type_t , typename audit_type_t >
feature_value_type_t& audit_features_iterator< feature_value_type_t, feature_index_type_t, audit_type_t >::value ( )
inline
template<typename feature_value_type_t , typename feature_index_type_t , typename audit_type_t >
const feature_value_type_t& audit_features_iterator< feature_value_type_t, feature_index_type_t, audit_type_t >::value ( ) const
inline

Friends And Related Function Documentation

template<typename feature_value_type_t , typename feature_index_type_t , typename audit_type_t >
friend struct features
friend
template<typename feature_value_type_t , typename feature_index_type_t , typename audit_type_t >
bool operator!= ( const audit_features_iterator< feature_value_type_t, feature_index_type_t, audit_type_t > &  lhs,
const audit_features_iterator< feature_value_type_t, feature_index_type_t, audit_type_t > &  rhs 
)
friend
template<typename feature_value_type_t , typename feature_index_type_t , typename audit_type_t >
audit_features_iterator<feature_value_type_t, feature_index_type_t, audit_type_t> operator+ ( const audit_features_iterator< feature_value_type_t, feature_index_type_t, audit_type_t > &  lhs,
difference_type  rhs 
)
friend
template<typename feature_value_type_t , typename feature_index_type_t , typename audit_type_t >
audit_features_iterator<feature_value_type_t, feature_index_type_t, audit_type_t> operator+ ( difference_type  lhs,
const audit_features_iterator< feature_value_type_t, feature_index_type_t, audit_type_t > &  rhs 
)
friend
template<typename feature_value_type_t , typename feature_index_type_t , typename audit_type_t >
difference_type operator- ( const audit_features_iterator< feature_value_type_t, feature_index_type_t, audit_type_t > &  lhs,
const audit_features_iterator< feature_value_type_t, feature_index_type_t, audit_type_t > &  rhs 
)
friend
template<typename feature_value_type_t , typename feature_index_type_t , typename audit_type_t >
audit_features_iterator<feature_value_type_t, feature_index_type_t, audit_type_t> operator- ( const audit_features_iterator< feature_value_type_t, feature_index_type_t, audit_type_t > &  lhs,
difference_type  rhs 
)
friend
template<typename feature_value_type_t , typename feature_index_type_t , typename audit_type_t >
bool operator< ( const audit_features_iterator< feature_value_type_t, feature_index_type_t, audit_type_t > &  lhs,
const audit_features_iterator< feature_value_type_t, feature_index_type_t, audit_type_t > &  rhs 
)
friend
template<typename feature_value_type_t , typename feature_index_type_t , typename audit_type_t >
bool operator<= ( const audit_features_iterator< feature_value_type_t, feature_index_type_t, audit_type_t > &  lhs,
const audit_features_iterator< feature_value_type_t, feature_index_type_t, audit_type_t > &  rhs 
)
friend
template<typename feature_value_type_t , typename feature_index_type_t , typename audit_type_t >
bool operator== ( const audit_features_iterator< feature_value_type_t, feature_index_type_t, audit_type_t > &  lhs,
const audit_features_iterator< feature_value_type_t, feature_index_type_t, audit_type_t > &  rhs 
)
friend
template<typename feature_value_type_t , typename feature_index_type_t , typename audit_type_t >
bool operator> ( const audit_features_iterator< feature_value_type_t, feature_index_type_t, audit_type_t > &  lhs,
const audit_features_iterator< feature_value_type_t, feature_index_type_t, audit_type_t > &  rhs 
)
friend
template<typename feature_value_type_t , typename feature_index_type_t , typename audit_type_t >
bool operator>= ( const audit_features_iterator< feature_value_type_t, feature_index_type_t, audit_type_t > &  lhs,
const audit_features_iterator< feature_value_type_t, feature_index_type_t, audit_type_t > &  rhs 
)
friend
template<typename feature_value_type_t , typename feature_index_type_t , typename audit_type_t >
void swap ( audit_features_iterator< feature_value_type_t, feature_index_type_t, audit_type_t > &  lhs,
audit_features_iterator< feature_value_type_t, feature_index_type_t, audit_type_t > &  rhs 
)
friend

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