LLVM 20.0.0git
Public Member Functions | List of all members
llvm::StringMapKeyIterator< ValueTy > Class Template Reference

#include "llvm/ADT/StringMap.h"

Inheritance diagram for llvm::StringMapKeyIterator< ValueTy >:
Inheritance graph
[legend]

Public Member Functions

 StringMapKeyIterator ()=default
 
 StringMapKeyIterator (StringMapConstIterator< ValueTy > Iter)
 
StringRef operator* () const
 
- Public Member Functions inherited from llvm::iterator_adaptor_base< StringMapKeyIterator< ValueTy >, StringMapConstIterator< ValueTy >, std::forward_iterator_tag, StringRef >
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< StringRef, typename std::iterator_traits< StringMapConstIterator< ValueTy > >::value_type >::value, typename std::iterator_traits< StringMapConstIterator< ValueTy > >::reference, StringRef & > operator* () const
 
- Public Member Functions inherited from llvm::iterator_facade_base< DerivedT, IteratorCategoryT, T, DifferenceTypeT, PointerT, ReferenceT >
DerivedT operator+ (DifferenceTypeT n) const
 
DerivedT operator- (DifferenceTypeT n) const
 
DerivedT & operator++ ()
 
DerivedT operator++ (int)
 
DerivedT & operator-- ()
 
DerivedT operator-- (int)
 
bool operator!= (const DerivedT &RHS) const
 
bool operator> (const DerivedT &RHS) const
 
bool operator<= (const DerivedT &RHS) const
 
bool operator>= (const DerivedT &RHS) const
 
PointerProxy operator-> () const
 
ReferenceProxy operator[] (DifferenceTypeT n) const
 

Additional Inherited Members

- Public Types inherited from llvm::iterator_adaptor_base< StringMapKeyIterator< ValueTy >, StringMapConstIterator< ValueTy >, std::forward_iterator_tag, StringRef >
using difference_type = typename std::iterator_traits< StringMapConstIterator< ValueTy > >::difference_type
 
- Public Types inherited from llvm::iterator_facade_base< DerivedT, IteratorCategoryT, T, DifferenceTypeT, PointerT, ReferenceT >
using iterator_category = IteratorCategoryT
 
using value_type = T
 
using difference_type = DifferenceTypeT
 
using pointer = PointerT
 
using reference = ReferenceT
 
- Protected Types inherited from llvm::iterator_facade_base< DerivedT, IteratorCategoryT, T, DifferenceTypeT, PointerT, ReferenceT >
enum  { IsRandomAccess , IsBidirectional }
 
- Protected Member Functions inherited from llvm::iterator_adaptor_base< StringMapKeyIterator< ValueTy >, StringMapConstIterator< ValueTy >, std::forward_iterator_tag, StringRef >
 iterator_adaptor_base ()=default
 
 iterator_adaptor_base (StringMapConstIterator< ValueTy > u)
 
const StringMapConstIterator< ValueTy > & wrapped () const
 
- Protected Attributes inherited from llvm::iterator_adaptor_base< StringMapKeyIterator< ValueTy >, StringMapConstIterator< ValueTy >, std::forward_iterator_tag, StringRef >
StringMapConstIterator< ValueTy > I
 

Detailed Description

template<typename ValueTy>
class llvm::StringMapKeyIterator< ValueTy >

Definition at line 516 of file StringMap.h.

Constructor & Destructor Documentation

◆ StringMapKeyIterator() [1/2]

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

◆ StringMapKeyIterator() [2/2]

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

Definition at line 526 of file StringMap.h.

Member Function Documentation

◆ operator*()

template<typename ValueTy >
StringRef llvm::StringMapKeyIterator< ValueTy >::operator* ( ) const
inline

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