Forward iterator over the records of a VarStreamArray.
Declared in <llvm/Support/BinaryStreamArray.h>
template<
typename ValueType,
typename Extractor>
class VarStreamArrayIterator
: public iterator_facade_base<VarStreamArrayIterator<ValueType, Extractor>, std::forward_iterator_tag, ValueType const>
| Name | Description |
|---|---|
iterator_facade_base<VarStreamArrayIterator<ValueType, Extractor>, std::forward_iterator_tag, ValueType const> | CRTP base class which implements the entire standard iterator facade in terms of a minimal subset of the interface. |
| Name | Description |
|---|---|
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. |
| Name | Description |
|---|---|
Unnamed enum | Capability flags for the iterator category. |
| Name | Description |
|---|---|
VarStreamArrayIterator [constructor] | Constructors |
~VarStreamArrayIterator [destructor] | Destroy this iterator. |
getRecordLength | Return the length in bytes of the current record. |
offset | Return the absolute byte offset of the current record. |
operator* | Return a const reference to the current record. |
operator+ | Advance the iterator by n and return the result. |
operator++ | Increment operators |
operator+= | Advance this iterator by N records. |
operator- | Retreat the iterator by n and return the result. |
operator-- | Decrement operators |
operator-> | Return a proxy pointer to the current element. |
operator[] | Return a proxy to the element at offset n. |
operator== | Return true if this iterator equals R. |
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. |
| Name | Description |
|---|---|
PointerProxy | Proxy that yields a pointer from a copied reference. |
ReferenceProxy | Proxy that yields a reference from a copied iterator. |