LLVM  15.0.0git
Public Member Functions | Protected Attributes | Friends | List of all members
llvm::StringMapIterBase< DerivedTy, ValueTy > Class Template Reference

#include "llvm/ADT/StringMap.h"

Inheritance diagram for llvm::StringMapIterBase< DerivedTy, ValueTy >:
Inheritance graph
[legend]
Collaboration diagram for llvm::StringMapIterBase< DerivedTy, ValueTy >:
Collaboration graph
[legend]

Public Member Functions

 StringMapIterBase ()=default
 
 StringMapIterBase (StringMapEntryBase **Bucket, bool NoAdvance=false)
 
DerivedTy & operator= (const DerivedTy &Other)
 
DerivedTy & operator++ ()
 
DerivedTy operator++ (int)
 
- Public Member Functions inherited from llvm::iterator_facade_base< DerivedTy, std::forward_iterator_tag, ValueTy >
DerivedTy operator+ (std::ptrdiff_t n) const
 
DerivedTy operator- (std::ptrdiff_t n) const
 
DerivedTy & operator++ ()
 
DerivedTy operator++ (int)
 
DerivedTy & operator-- ()
 
DerivedTy operator-- (int)
 
bool operator!= (const DerivedTy &RHS) const
 
bool operator> (const DerivedTy &RHS) const
 
bool operator<= (const DerivedTy &RHS) const
 
bool operator>= (const DerivedTy &RHS) const
 
PointerProxy operator-> () const
 
ReferenceProxy operator[] (std::ptrdiff_t n) const
 

Protected Attributes

StringMapEntryBase ** Ptr = nullptr
 

Friends

bool operator== (const DerivedTy &LHS, const DerivedTy &RHS)
 

Additional Inherited Members

- Public Types inherited from llvm::iterator_facade_base< DerivedTy, std::forward_iterator_tag, ValueTy >
using iterator_category = std::forward_iterator_tag
 
using value_type = ValueTy
 
using difference_type = std::ptrdiff_t
 
using pointer = ValueTy *
 
using reference = ValueTy &
 
- Protected Types inherited from llvm::iterator_facade_base< DerivedTy, std::forward_iterator_tag, ValueTy >
enum  
 

Detailed Description

template<typename DerivedTy, typename ValueTy>
class llvm::StringMapIterBase< DerivedTy, ValueTy >

Definition at line 386 of file StringMap.h.

Constructor & Destructor Documentation

◆ StringMapIterBase() [1/2]

template<typename DerivedTy , typename ValueTy >
llvm::StringMapIterBase< DerivedTy, ValueTy >::StringMapIterBase ( )
default

◆ StringMapIterBase() [2/2]

template<typename DerivedTy , typename ValueTy >
llvm::StringMapIterBase< DerivedTy, ValueTy >::StringMapIterBase ( StringMapEntryBase **  Bucket,
bool  NoAdvance = false 
)
inlineexplicit

Definition at line 395 of file StringMap.h.

Member Function Documentation

◆ operator++() [1/2]

template<typename DerivedTy , typename ValueTy >
DerivedTy& llvm::StringMapIterBase< DerivedTy, ValueTy >::operator++ ( )
inline

Definition at line 411 of file StringMap.h.

References llvm::StringMapIterBase< DerivedTy, ValueTy >::Ptr.

◆ operator++() [2/2]

template<typename DerivedTy , typename ValueTy >
DerivedTy llvm::StringMapIterBase< DerivedTy, ValueTy >::operator++ ( int  )
inline

Definition at line 417 of file StringMap.h.

References llvm::StringMapIterBase< DerivedTy, ValueTy >::Ptr.

◆ operator=()

template<typename DerivedTy , typename ValueTy >
DerivedTy& llvm::StringMapIterBase< DerivedTy, ValueTy >::operator= ( const DerivedTy &  Other)
inline

Definition at line 402 of file StringMap.h.

References Other, and llvm::StringMapIterBase< DerivedTy, ValueTy >::Ptr.

Friends And Related Function Documentation

◆ operator==

template<typename DerivedTy , typename ValueTy >
bool operator== ( const DerivedTy &  LHS,
const DerivedTy &  RHS 
)
friend

Definition at line 407 of file StringMap.h.

Member Data Documentation

◆ Ptr

template<typename DerivedTy , typename ValueTy >
StringMapEntryBase** llvm::StringMapIterBase< DerivedTy, ValueTy >::Ptr = nullptr
protected

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