ATLAS Offline Software
Loading...
Searching...
No Matches
columnar::ObjectRangeIteratorArray< CI, stepSize, CM > Class Template Reference

an iterator over objects in an ObjectRange More...

#include <ObjectRange.h>

Collaboration diagram for columnar::ObjectRangeIteratorArray< CI, stepSize, CM >:

Public Member Functions

 ObjectRangeIteratorArray (void **val_data, std::size_t val_index) noexcept
ObjectId< CI, CM > operator* () const noexcept
ObjectRangeIteratorArray< CI, stepSize, CM > & operator++ () noexcept
bool operator== (const ObjectRangeIteratorArray< CI, stepSize, CM > &that) const noexcept
bool operator!= (const ObjectRangeIteratorArray< CI, stepSize, CM > &that) const noexcept

Private Attributes

void ** m_data = nullptr
std::size_t m_index = 0u

Detailed Description

template<ContainerIdConcept CI, int stepSize, ColumnarArrayMode CM>
class columnar::ObjectRangeIteratorArray< CI, stepSize, CM >

an iterator over objects in an ObjectRange

This is primarily to allow the use of range-for for ObjectRange

Definition at line 313 of file ObjectRange.h.

Constructor & Destructor Documentation

◆ ObjectRangeIteratorArray()

template<ContainerIdConcept CI, int stepSize, ColumnarArrayMode CM>
columnar::ObjectRangeIteratorArray< CI, stepSize, CM >::ObjectRangeIteratorArray ( void ** val_data,
std::size_t val_index )
inlinenoexcept

Definition at line 317 of file ObjectRange.h.

Member Function Documentation

◆ operator!=()

template<ContainerIdConcept CI, int stepSize, ColumnarArrayMode CM>
bool columnar::ObjectRangeIteratorArray< CI, stepSize, CM >::operator!= ( const ObjectRangeIteratorArray< CI, stepSize, CM > & that) const
inlinenoexcept

Definition at line 329 of file ObjectRange.h.

329 {
330 return m_index != that.m_index;}

◆ operator*()

template<ContainerIdConcept CI, int stepSize, ColumnarArrayMode CM>
ObjectId< CI, CM > columnar::ObjectRangeIteratorArray< CI, stepSize, CM >::operator* ( ) const
inlinenoexcept

Definition at line 320 of file ObjectRange.h.

320 {
322 }

◆ operator++()

template<ContainerIdConcept CI, int stepSize, ColumnarArrayMode CM>
ObjectRangeIteratorArray< CI, stepSize, CM > & columnar::ObjectRangeIteratorArray< CI, stepSize, CM >::operator++ ( )
inlinenoexcept

Definition at line 324 of file ObjectRange.h.

324 {
325 m_index += stepSize; return *this;}

◆ operator==()

template<ContainerIdConcept CI, int stepSize, ColumnarArrayMode CM>
bool columnar::ObjectRangeIteratorArray< CI, stepSize, CM >::operator== ( const ObjectRangeIteratorArray< CI, stepSize, CM > & that) const
inlinenoexcept

Definition at line 327 of file ObjectRange.h.

327 {
328 return m_index == that.m_index;}

Member Data Documentation

◆ m_data

template<ContainerIdConcept CI, int stepSize, ColumnarArrayMode CM>
void** columnar::ObjectRangeIteratorArray< CI, stepSize, CM >::m_data = nullptr
private

Definition at line 333 of file ObjectRange.h.

◆ m_index

template<ContainerIdConcept CI, int stepSize, ColumnarArrayMode CM>
std::size_t columnar::ObjectRangeIteratorArray< CI, stepSize, CM >::m_index = 0u
private

Definition at line 334 of file ObjectRange.h.


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