llvm::cas::ondisk::InternalRefArrayRef::iterator

Random-access iterator over references in an InternalRefArrayRef.

Synopsis

Declared in <llvm/CAS/OnDiskGraphDB.h>

class iterator
    : public iterator_facade_base<iterator, std::random_access_iterator_tag, InternalRef const>

Base Classes

NameDescription
iterator_facade_base<iterator, std::random_access_iterator_tag, InternalRef const>CRTP base class which implements the entire standard iterator facade in terms of a minimal subset of the interface.

Type Aliases

NameDescription
difference_type Signed type used to express the distance between iterators.
iterator_category Iterator category tag for this facade.
pointer Pointer type returned by the iterator.
reference Reference type returned by the iterator.
value_type Value type produced by the iterator.

Enums

NameDescription
Unnamed enum Capability flags for the iterator category.

Member Functions

NameDescription
iterator [constructor]Default-construct an empty iterator.
getOpaqueData Return an opaque bit pattern for this iterator.
operator* Return the InternalRef at this iterator position.
operator+ Advance the iterator by n and return the result.
operator++ Increment operators
operator+= Advance this iterator by N positions.
operator- Subtraction operators
operator-- Decrement operators
operator-= Retreat this iterator by N positions.
operator-> Return a proxy pointer to the current element.
operator[] Subscript operators
operator== Return true if both iterators refer to the same position.
operator< Return true if this iterator is before RHS in address order.
operator<= Return true if this iterator is less than or equal to RHS.
operator> Return true if this iterator is greater than RHS.
operator>= Return true if this iterator is greater than or equal to RHS.

Static Member Functions

NameDescription
fromOpaqueData Reconstruct an iterator from an opaque bit pattern.

Protected Types

NameDescription
PointerProxy Proxy that yields a pointer from a copied reference.
ReferenceProxy Proxy that yields a reference from a copied iterator.

Friends

NameDescription
llvm::cas::ondisk::InternalRefArrayRefArray of internal node references.

Non-Member Functions

NameDescription
::llvm::operator+Return an iterator n positions after i.