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

Methods

unsigned int Next() const

Declared at: llvm/include/llvm/ADT/SparseMultiSet.h:251

unsigned int Prev() const

Declared at: llvm/include/llvm/ADT/SparseMultiSet.h:250

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

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)

Declared at: llvm/include/llvm/ADT/SparseMultiSet.h:235

Parameters

SMSPtrTy P
unsigned int I
unsigned int SI

void setNext(unsigned int N)

Declared at: llvm/include/llvm/ADT/SparseMultiSet.h:254

Parameters

unsigned int N

void setPrev(unsigned int P)

Declared at: llvm/include/llvm/ADT/SparseMultiSet.h:253

Parameters

unsigned int P