class SparseMultiSet::iterator_base
Declaration
template <typename SMSPtrTy>
class SparseMultiSet::iterator_base { /* full declaration omitted */ };
Description
Our iterators are iterators over the collection of objects that share a key.
Declared at: llvm/include/llvm/ADT/SparseMultiSet.h:220
Templates
- SMSPtrTy
Member Variables
- private SMSPtrTy SMS
- private unsigned int Idx
- private unsigned int SparseIdx
Method Overview
- private unsigned int Next() const
- private unsigned int Prev() const
- private bool isEnd() const
- private bool isKeyed() const
- private iterator_base<SMSPtrTy>(SMSPtrTy P, unsigned int I, unsigned int SI)
- private void setNext(unsigned int N)
- private void setPrev(unsigned int P)
Methods
¶unsigned int Next() const
unsigned int Next() const
Declared at: llvm/include/llvm/ADT/SparseMultiSet.h:251
¶unsigned int Prev() const
unsigned int Prev() const
Declared at: llvm/include/llvm/ADT/SparseMultiSet.h:250
¶bool isEnd() const
bool isEnd() const
Description
Whether our iterator has fallen outside our dense vector.
Declared at: llvm/include/llvm/ADT/SparseMultiSet.h:239
¶bool isKeyed() const
bool isKeyed() const
Description
Whether our iterator is properly keyed, i.e. the SparseIdx is valid
Declared at: llvm/include/llvm/ADT/SparseMultiSet.h:248
¶iterator_base<SMSPtrTy>(SMSPtrTy P,
unsigned int I,
unsigned int SI)
iterator_base<SMSPtrTy>(SMSPtrTy P,
unsigned int I,
unsigned int SI)
Declared at: llvm/include/llvm/ADT/SparseMultiSet.h:235
Parameters
- SMSPtrTy P
- unsigned int I
- unsigned int SI
¶void setNext(unsigned int N)
void setNext(unsigned int N)
Declared at: llvm/include/llvm/ADT/SparseMultiSet.h:254
Parameters
- unsigned int N
¶void setPrev(unsigned int P)
void setPrev(unsigned int P)
Declared at: llvm/include/llvm/ADT/SparseMultiSet.h:253
Parameters
- unsigned int P