WPILibC++ 2024.3.2
wpi::DenseMapIterator< KeyT, ValueT, KeyInfoT, Bucket, IsConst > Class Template Reference

#include </home/runner/work/allwpilib/allwpilib/wpiutil/src/main/native/thirdparty/llvm/include/wpi/DenseMap.h>

Inheritance diagram for wpi::DenseMapIterator< KeyT, ValueT, KeyInfoT, Bucket, IsConst >:
wpi::DebugEpochBase::HandleBase

Public Types

using difference_type = ptrdiff_t
 
using value_type = std::conditional_t< IsConst, const Bucket, Bucket >
 
using pointer = value_type *
 
using reference = value_type &
 
using iterator_category = std::forward_iterator_tag
 

Public Member Functions

 DenseMapIterator ()=default
 
 DenseMapIterator (pointer Pos, pointer E, const DebugEpochBase &Epoch, bool NoAdvance=false)
 
template<bool IsConstSrc, typename = std::enable_if_t<!IsConstSrc && IsConst>>
 DenseMapIterator (const DenseMapIterator< KeyT, ValueT, KeyInfoT, Bucket, IsConstSrc > &I)
 
reference operator* () const
 
pointer operator-> () const
 
DenseMapIteratoroperator++ ()
 
DenseMapIterator operator++ (int)
 

Friends

class DenseMapIterator< KeyT, ValueT, KeyInfoT, Bucket, true >
 
class DenseMapIterator< KeyT, ValueT, KeyInfoT, Bucket, false >
 
bool operator== (const DenseMapIterator &LHS, const DenseMapIterator &RHS)
 
bool operator!= (const DenseMapIterator &LHS, const DenseMapIterator &RHS)
 

Member Typedef Documentation

◆ difference_type

template<typename KeyT , typename ValueT , typename KeyInfoT , typename Bucket , bool IsConst>
using wpi::DenseMapIterator< KeyT, ValueT, KeyInfoT, Bucket, IsConst >::difference_type = ptrdiff_t

◆ iterator_category

template<typename KeyT , typename ValueT , typename KeyInfoT , typename Bucket , bool IsConst>
using wpi::DenseMapIterator< KeyT, ValueT, KeyInfoT, Bucket, IsConst >::iterator_category = std::forward_iterator_tag

◆ pointer

template<typename KeyT , typename ValueT , typename KeyInfoT , typename Bucket , bool IsConst>
using wpi::DenseMapIterator< KeyT, ValueT, KeyInfoT, Bucket, IsConst >::pointer = value_type *

◆ reference

template<typename KeyT , typename ValueT , typename KeyInfoT , typename Bucket , bool IsConst>
using wpi::DenseMapIterator< KeyT, ValueT, KeyInfoT, Bucket, IsConst >::reference = value_type &

◆ value_type

template<typename KeyT , typename ValueT , typename KeyInfoT , typename Bucket , bool IsConst>
using wpi::DenseMapIterator< KeyT, ValueT, KeyInfoT, Bucket, IsConst >::value_type = std::conditional_t<IsConst, const Bucket, Bucket>

Constructor & Destructor Documentation

◆ DenseMapIterator() [1/3]

template<typename KeyT , typename ValueT , typename KeyInfoT , typename Bucket , bool IsConst>
wpi::DenseMapIterator< KeyT, ValueT, KeyInfoT, Bucket, IsConst >::DenseMapIterator ( )
default

◆ DenseMapIterator() [2/3]

template<typename KeyT , typename ValueT , typename KeyInfoT , typename Bucket , bool IsConst>
wpi::DenseMapIterator< KeyT, ValueT, KeyInfoT, Bucket, IsConst >::DenseMapIterator ( pointer  Pos,
pointer  E,
const DebugEpochBase Epoch,
bool  NoAdvance = false 
)
inline

◆ DenseMapIterator() [3/3]

template<typename KeyT , typename ValueT , typename KeyInfoT , typename Bucket , bool IsConst>
template<bool IsConstSrc, typename = std::enable_if_t<!IsConstSrc && IsConst>>
wpi::DenseMapIterator< KeyT, ValueT, KeyInfoT, Bucket, IsConst >::DenseMapIterator ( const DenseMapIterator< KeyT, ValueT, KeyInfoT, Bucket, IsConstSrc > &  I)
inline

Member Function Documentation

◆ operator*()

template<typename KeyT , typename ValueT , typename KeyInfoT , typename Bucket , bool IsConst>
reference wpi::DenseMapIterator< KeyT, ValueT, KeyInfoT, Bucket, IsConst >::operator* ( ) const
inline

◆ operator++() [1/2]

template<typename KeyT , typename ValueT , typename KeyInfoT , typename Bucket , bool IsConst>
DenseMapIterator & wpi::DenseMapIterator< KeyT, ValueT, KeyInfoT, Bucket, IsConst >::operator++ ( )
inline

◆ operator++() [2/2]

template<typename KeyT , typename ValueT , typename KeyInfoT , typename Bucket , bool IsConst>
DenseMapIterator wpi::DenseMapIterator< KeyT, ValueT, KeyInfoT, Bucket, IsConst >::operator++ ( int  )
inline

◆ operator->()

template<typename KeyT , typename ValueT , typename KeyInfoT , typename Bucket , bool IsConst>
pointer wpi::DenseMapIterator< KeyT, ValueT, KeyInfoT, Bucket, IsConst >::operator-> ( ) const
inline

Friends And Related Function Documentation

◆ DenseMapIterator< KeyT, ValueT, KeyInfoT, Bucket, false >

template<typename KeyT , typename ValueT , typename KeyInfoT , typename Bucket , bool IsConst>
friend class DenseMapIterator< KeyT, ValueT, KeyInfoT, Bucket, false >
friend

◆ DenseMapIterator< KeyT, ValueT, KeyInfoT, Bucket, true >

template<typename KeyT , typename ValueT , typename KeyInfoT , typename Bucket , bool IsConst>
friend class DenseMapIterator< KeyT, ValueT, KeyInfoT, Bucket, true >
friend

◆ operator!=

template<typename KeyT , typename ValueT , typename KeyInfoT , typename Bucket , bool IsConst>
bool operator!= ( const DenseMapIterator< KeyT, ValueT, KeyInfoT, Bucket, IsConst > &  LHS,
const DenseMapIterator< KeyT, ValueT, KeyInfoT, Bucket, IsConst > &  RHS 
)
friend

◆ operator==

template<typename KeyT , typename ValueT , typename KeyInfoT , typename Bucket , bool IsConst>
bool operator== ( const DenseMapIterator< KeyT, ValueT, KeyInfoT, Bucket, IsConst > &  LHS,
const DenseMapIterator< KeyT, ValueT, KeyInfoT, Bucket, IsConst > &  RHS 
)
friend

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