Vowpal Wabbit
Loading...
Searching...
No Matches
Public Types | Public Member Functions | Friends | List of all members
VW::details::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 &&) noexcept=default
 
audit_features_iteratoroperator= (audit_features_iterator &&) noexcept=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

class ::VW::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

◆ const_reference

template<typename feature_value_type_t , typename feature_index_type_t , typename audit_type_t >
using VW::details::audit_features_iterator< feature_value_type_t, feature_index_type_t, audit_type_t >::const_reference = const value_type&

◆ difference_type

template<typename feature_value_type_t , typename feature_index_type_t , typename audit_type_t >
using VW::details::audit_features_iterator< feature_value_type_t, feature_index_type_t, audit_type_t >::difference_type = std::ptrdiff_t

◆ iterator_category

template<typename feature_value_type_t , typename feature_index_type_t , typename audit_type_t >
using VW::details::audit_features_iterator< feature_value_type_t, feature_index_type_t, audit_type_t >::iterator_category = std::random_access_iterator_tag

◆ pointer

template<typename feature_value_type_t , typename feature_index_type_t , typename audit_type_t >
using VW::details::audit_features_iterator< feature_value_type_t, feature_index_type_t, audit_type_t >::pointer = value_type*

◆ reference

template<typename feature_value_type_t , typename feature_index_type_t , typename audit_type_t >
using VW::details::audit_features_iterator< feature_value_type_t, feature_index_type_t, audit_type_t >::reference = value_type&

◆ value_type

template<typename feature_value_type_t , typename feature_index_type_t , typename audit_type_t >
using VW::details::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

◆ audit_features_iterator() [1/4]

template<typename feature_value_type_t , typename feature_index_type_t , typename audit_type_t >
VW::details::audit_features_iterator< feature_value_type_t, feature_index_type_t, audit_type_t >::audit_features_iterator ( )
inline

◆ audit_features_iterator() [2/4]

template<typename feature_value_type_t , typename feature_index_type_t , typename audit_type_t >
VW::details::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

◆ audit_features_iterator() [3/4]

template<typename feature_value_type_t , typename feature_index_type_t , typename audit_type_t >
VW::details::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

◆ audit_features_iterator() [4/4]

template<typename feature_value_type_t , typename feature_index_type_t , typename audit_type_t >
VW::details::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 > &&  )
defaultnoexcept

Member Function Documentation

◆ audit() [1/2]

template<typename feature_value_type_t , typename feature_index_type_t , typename audit_type_t >
audit_type_t * VW::details::audit_features_iterator< feature_value_type_t, feature_index_type_t, audit_type_t >::audit ( )
inline

◆ audit() [2/2]

template<typename feature_value_type_t , typename feature_index_type_t , typename audit_type_t >
const audit_type_t * VW::details::audit_features_iterator< feature_value_type_t, feature_index_type_t, audit_type_t >::audit ( ) const
inline

◆ index() [1/2]

template<typename feature_value_type_t , typename feature_index_type_t , typename audit_type_t >
feature_index_type_t & VW::details::audit_features_iterator< feature_value_type_t, feature_index_type_t, audit_type_t >::index ( )
inline

◆ index() [2/2]

template<typename feature_value_type_t , typename feature_index_type_t , typename audit_type_t >
const feature_index_type_t & VW::details::audit_features_iterator< feature_value_type_t, feature_index_type_t, audit_type_t >::index ( ) const
inline

◆ operator*() [1/2]

template<typename feature_value_type_t , typename feature_index_type_t , typename audit_type_t >
reference VW::details::audit_features_iterator< feature_value_type_t, feature_index_type_t, audit_type_t >::operator* ( )
inline

◆ operator*() [2/2]

template<typename feature_value_type_t , typename feature_index_type_t , typename audit_type_t >
const_reference VW::details::audit_features_iterator< feature_value_type_t, feature_index_type_t, audit_type_t >::operator* ( ) const
inline

◆ operator++()

template<typename feature_value_type_t , typename feature_index_type_t , typename audit_type_t >
audit_features_iterator & VW::details::audit_features_iterator< feature_value_type_t, feature_index_type_t, audit_type_t >::operator++ ( )
inline

◆ operator+=()

template<typename feature_value_type_t , typename feature_index_type_t , typename audit_type_t >
audit_features_iterator & VW::details::audit_features_iterator< feature_value_type_t, feature_index_type_t, audit_type_t >::operator+= ( difference_type  diff)
inline

◆ operator-=()

template<typename feature_value_type_t , typename feature_index_type_t , typename audit_type_t >
audit_features_iterator & VW::details::audit_features_iterator< feature_value_type_t, feature_index_type_t, audit_type_t >::operator-= ( difference_type  diff)
inline

◆ operator=() [1/2]

template<typename feature_value_type_t , typename feature_index_type_t , typename audit_type_t >
audit_features_iterator & VW::details::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 > &&  )
defaultnoexcept

◆ operator=() [2/2]

template<typename feature_value_type_t , typename feature_index_type_t , typename audit_type_t >
audit_features_iterator & VW::details::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

◆ value() [1/2]

template<typename feature_value_type_t , typename feature_index_type_t , typename audit_type_t >
feature_value_type_t & VW::details::audit_features_iterator< feature_value_type_t, feature_index_type_t, audit_type_t >::value ( )
inline

◆ value() [2/2]

template<typename feature_value_type_t , typename feature_index_type_t , typename audit_type_t >
const feature_value_type_t & VW::details::audit_features_iterator< feature_value_type_t, feature_index_type_t, audit_type_t >::value ( ) const
inline

Friends And Related Function Documentation

◆ ::VW::features

template<typename feature_value_type_t , typename feature_index_type_t , typename audit_type_t >
friend class ::VW::features
friend

◆ operator!=

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

◆ operator+ [1/2]

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

◆ operator+ [2/2]

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

◆ operator- [1/2]

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

◆ operator- [2/2]

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

◆ operator<

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

◆ operator<=

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

◆ operator==

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

◆ operator>

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

◆ operator>=

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

◆ swap

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: