WPILibC++ 2024.1.1-beta-4
wpi::StringMapKeyIterator< ValueTy > Class Template Reference

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

Inheritance diagram for wpi::StringMapKeyIterator< ValueTy >:
wpi::iterator_adaptor_base< StringMapKeyIterator< ValueTy >, StringMapConstIterator< ValueTy >, std::forward_iterator_tag, std::string_view > wpi::iterator_facade_base< StringMapKeyIterator< ValueTy >, std::forward_iterator_tag, std::string_view, typename std::iterator_traits< StringMapConstIterator< ValueTy > >::difference_type, std::conditional_t< std::is_same< std::string_view, typename std::iterator_traits< StringMapConstIterator< ValueTy > >::value_type >::value, typename std::iterator_traits< StringMapConstIterator< ValueTy > >::pointer, std::string_view * >, std::conditional_t< std::is_same< std::string_view, typename std::iterator_traits< StringMapConstIterator< ValueTy > >::value_type >::value, typename std::iterator_traits< StringMapConstIterator< ValueTy > >::reference, std::string_view & > >

Public Member Functions

 StringMapKeyIterator ()=default
 
 StringMapKeyIterator (StringMapConstIterator< ValueTy > Iter)
 
std::string_view operator* () const
 
- Public Member Functions inherited from wpi::iterator_adaptor_base< StringMapKeyIterator< ValueTy >, StringMapConstIterator< ValueTy >, std::forward_iterator_tag, std::string_view >
StringMapKeyIterator< ValueTy > & operator+= (difference_type n)
 
StringMapKeyIterator< ValueTy > & operator-= (difference_type n)
 
difference_type operator- (const StringMapKeyIterator< ValueTy > &RHS) const
 
StringMapKeyIterator< ValueTy > & operator++ ()
 
StringMapKeyIterator< ValueTy > & operator-- ()
 
std::conditional_t< std::is_same< std::string_view, typename std::iterator_traits< StringMapConstIterator< ValueTy > >::value_type >::value, typename std::iterator_traits< StringMapConstIterator< ValueTy > >::reference, std::string_view & > operator* () const
 
- Public Member Functions inherited from wpi::iterator_facade_base< StringMapKeyIterator< ValueTy >, std::forward_iterator_tag, std::string_view, typename std::iterator_traits< StringMapConstIterator< ValueTy > >::difference_type, std::conditional_t< std::is_same< std::string_view, typename std::iterator_traits< StringMapConstIterator< ValueTy > >::value_type >::value, typename std::iterator_traits< StringMapConstIterator< ValueTy > >::pointer, std::string_view * >, std::conditional_t< std::is_same< std::string_view, typename std::iterator_traits< StringMapConstIterator< ValueTy > >::value_type >::value, typename std::iterator_traits< StringMapConstIterator< ValueTy > >::reference, std::string_view & > >
StringMapKeyIterator< ValueTy > operator+ (typename std::iterator_traits< StringMapConstIterator< ValueTy > >::difference_type n) const
 
StringMapKeyIterator< ValueTy > operator- (typename std::iterator_traits< StringMapConstIterator< ValueTy > >::difference_type n) const
 
StringMapKeyIterator< ValueTy > & operator++ ()
 
StringMapKeyIterator< ValueTy > operator++ (int)
 
StringMapKeyIterator< ValueTy > & operator-- ()
 
StringMapKeyIterator< ValueTy > operator-- (int)
 
bool operator!= (const StringMapKeyIterator< ValueTy > &RHS) const
 
bool operator> (const StringMapKeyIterator< ValueTy > &RHS) const
 
bool operator<= (const StringMapKeyIterator< ValueTy > &RHS) const
 
bool operator>= (const StringMapKeyIterator< ValueTy > &RHS) const
 
PointerProxy operator-> () const
 
ReferenceProxy operator[] (typename std::iterator_traits< StringMapConstIterator< ValueTy > >::difference_type n) const
 

Additional Inherited Members

- Public Types inherited from wpi::iterator_adaptor_base< StringMapKeyIterator< ValueTy >, StringMapConstIterator< ValueTy >, std::forward_iterator_tag, std::string_view >
using difference_type = typename std::iterator_traits< StringMapConstIterator< ValueTy > >::difference_type
 
- Public Types inherited from wpi::iterator_facade_base< StringMapKeyIterator< ValueTy >, std::forward_iterator_tag, std::string_view, typename std::iterator_traits< StringMapConstIterator< ValueTy > >::difference_type, std::conditional_t< std::is_same< std::string_view, typename std::iterator_traits< StringMapConstIterator< ValueTy > >::value_type >::value, typename std::iterator_traits< StringMapConstIterator< ValueTy > >::pointer, std::string_view * >, std::conditional_t< std::is_same< std::string_view, typename std::iterator_traits< StringMapConstIterator< ValueTy > >::value_type >::value, typename std::iterator_traits< StringMapConstIterator< ValueTy > >::reference, std::string_view & > >
using iterator_category = std::forward_iterator_tag
 
using value_type = std::string_view
 
using difference_type = typename std::iterator_traits< StringMapConstIterator< ValueTy > >::difference_type
 
using pointer = std::conditional_t< std::is_same< std::string_view, typename std::iterator_traits< StringMapConstIterator< ValueTy > >::value_type >::value, typename std::iterator_traits< StringMapConstIterator< ValueTy > >::pointer, std::string_view * >
 
using reference = std::conditional_t< std::is_same< std::string_view, typename std::iterator_traits< StringMapConstIterator< ValueTy > >::value_type >::value, typename std::iterator_traits< StringMapConstIterator< ValueTy > >::reference, std::string_view & >
 
- Protected Types inherited from wpi::iterator_facade_base< StringMapKeyIterator< ValueTy >, std::forward_iterator_tag, std::string_view, typename std::iterator_traits< StringMapConstIterator< ValueTy > >::difference_type, std::conditional_t< std::is_same< std::string_view, typename std::iterator_traits< StringMapConstIterator< ValueTy > >::value_type >::value, typename std::iterator_traits< StringMapConstIterator< ValueTy > >::pointer, std::string_view * >, std::conditional_t< std::is_same< std::string_view, typename std::iterator_traits< StringMapConstIterator< ValueTy > >::value_type >::value, typename std::iterator_traits< StringMapConstIterator< ValueTy > >::reference, std::string_view & > >
enum  
 
- Protected Member Functions inherited from wpi::iterator_adaptor_base< StringMapKeyIterator< ValueTy >, StringMapConstIterator< ValueTy >, std::forward_iterator_tag, std::string_view >
 iterator_adaptor_base ()=default
 
 iterator_adaptor_base (StringMapConstIterator< ValueTy > u)
 
const StringMapConstIterator< ValueTy > & wrapped () const
 
- Protected Attributes inherited from wpi::iterator_adaptor_base< StringMapKeyIterator< ValueTy >, StringMapConstIterator< ValueTy >, std::forward_iterator_tag, std::string_view >
StringMapConstIterator< ValueTy > I
 

Constructor & Destructor Documentation

◆ StringMapKeyIterator() [1/2]

template<typename ValueTy >
wpi::StringMapKeyIterator< ValueTy >::StringMapKeyIterator ( )
default

◆ StringMapKeyIterator() [2/2]

template<typename ValueTy >
wpi::StringMapKeyIterator< ValueTy >::StringMapKeyIterator ( StringMapConstIterator< ValueTy >  Iter)
inlineexplicit

Member Function Documentation

◆ operator*()

template<typename ValueTy >
std::string_view wpi::StringMapKeyIterator< ValueTy >::operator* ( ) const
inline

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