LLVM API Documentation

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Public Member Functions | Protected Member Functions | Protected Attributes | List of all members
llvm::SmallPtrSetIteratorImpl Class Reference

#include <SmallPtrSet.h>

Inheritance diagram for llvm::SmallPtrSetIteratorImpl:
Inheritance graph
[legend]
Collaboration diagram for llvm::SmallPtrSetIteratorImpl:
Collaboration graph
[legend]

Public Member Functions

 SmallPtrSetIteratorImpl (const void *const *BP, const void *const *E)
 
bool operator== (const SmallPtrSetIteratorImpl &RHS) const
 
bool operator!= (const SmallPtrSetIteratorImpl &RHS) const
 

Protected Member Functions

void AdvanceIfNotValid ()
 

Protected Attributes

const void *const * Bucket
 
const void *const * End
 

Detailed Description

SmallPtrSetIteratorImpl - This is the common base class shared between all instances of SmallPtrSetIterator.

Definition at line 142 of file SmallPtrSet.h.

Constructor & Destructor Documentation

llvm::SmallPtrSetIteratorImpl::SmallPtrSetIteratorImpl ( const void *const *  BP,
const void *const *  E 
)
inlineexplicit

Definition at line 147 of file SmallPtrSet.h.

References AdvanceIfNotValid().

Member Function Documentation

void llvm::SmallPtrSetIteratorImpl::AdvanceIfNotValid ( )
inlineprotected

AdvanceIfNotValid - If the current bucket isn't valid, advance to a bucket that is. This is guaranteed to stop because the end() bucket is marked valid.

Definition at line 163 of file SmallPtrSet.h.

References Bucket, End, llvm::SmallPtrSetImpl::getEmptyMarker(), and llvm::SmallPtrSetImpl::getTombstoneMarker().

Referenced by llvm::SmallPtrSetIterator< PtrTy >::operator++(), and SmallPtrSetIteratorImpl().

bool llvm::SmallPtrSetIteratorImpl::operator!= ( const SmallPtrSetIteratorImpl RHS) const
inline

Definition at line 155 of file SmallPtrSet.h.

References Bucket.

bool llvm::SmallPtrSetIteratorImpl::operator== ( const SmallPtrSetIteratorImpl RHS) const
inline

Definition at line 152 of file SmallPtrSet.h.

References Bucket.

Member Data Documentation

const void* const* llvm::SmallPtrSetIteratorImpl::Bucket
protected
const void* const* llvm::SmallPtrSetIteratorImpl::End
protected

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