EDM4eic
EIC data model
Loading...
Searching...
No Matches
edm4eic::TensorCollectionIterator Class Reference

#include <TensorCollection.h>

Public Types

using value_type = Tensor
 
using difference_type = ptrdiff_t
 
using reference = Tensor
 
using pointer = Tensor*
 
using iterator_category = std::input_iterator_tag
 
using iterator_concept = std::random_access_iterator_tag
 

Public Member Functions

 TensorCollectionIterator (size_t index, const TensorObjPointerContainer *collection)
 
 TensorCollectionIterator ()=default
 
 TensorCollectionIterator (const TensorCollectionIterator &)=default
 
 TensorCollectionIterator (TensorCollectionIterator &&)=default
 
TensorCollectionIteratoroperator= (const TensorCollectionIterator &)=default
 
TensorCollectionIteratoroperator= (TensorCollectionIterator &&)=default
 
 ~TensorCollectionIterator ()=default
 
auto operator<=> (const TensorCollectionIterator &other) const
 
bool operator== (const TensorCollectionIterator &x) const
 
reference operator* () const
 
pointer operator-> ()
 
TensorCollectionIteratoroperator++ ()
 
TensorCollectionIterator operator++ (int)
 
TensorCollectionIteratoroperator-- ()
 
TensorCollectionIterator operator-- (int)
 
TensorCollectionIteratoroperator+= (difference_type n)
 
TensorCollectionIterator operator+ (difference_type n) const
 
TensorCollectionIteratoroperator-= (difference_type n)
 
TensorCollectionIterator operator- (difference_type n) const
 
reference operator[] (difference_type n) const
 
difference_type operator- (const TensorCollectionIterator &other) const
 

Friends

TensorCollectionIterator operator+ (TensorCollectionIterator::difference_type n, const TensorCollectionIterator &it)
 

Member Typedef Documentation

◆ difference_type

◆ iterator_category

◆ iterator_concept

using edm4eic::TensorCollectionIterator::iterator_concept = std::random_access_iterator_tag

◆ pointer

◆ reference

◆ value_type

Constructor & Destructor Documentation

◆ TensorCollectionIterator() [1/4]

edm4eic::TensorCollectionIterator::TensorCollectionIterator ( size_t index,
const TensorObjPointerContainer * collection )
inline

◆ TensorCollectionIterator() [2/4]

edm4eic::TensorCollectionIterator::TensorCollectionIterator ( )
default

◆ TensorCollectionIterator() [3/4]

edm4eic::TensorCollectionIterator::TensorCollectionIterator ( const TensorCollectionIterator & )
default

◆ TensorCollectionIterator() [4/4]

edm4eic::TensorCollectionIterator::TensorCollectionIterator ( TensorCollectionIterator && )
default

◆ ~TensorCollectionIterator()

edm4eic::TensorCollectionIterator::~TensorCollectionIterator ( )
default

Member Function Documentation

◆ operator*()

TensorCollectionIterator::reference edm4eic::TensorCollectionIterator::operator* ( ) const

◆ operator+()

TensorCollectionIterator edm4eic::TensorCollectionIterator::operator+ ( difference_type n) const

◆ operator++() [1/2]

TensorCollectionIterator & edm4eic::TensorCollectionIterator::operator++ ( )

◆ operator++() [2/2]

TensorCollectionIterator edm4eic::TensorCollectionIterator::operator++ ( int )

◆ operator+=()

TensorCollectionIterator & edm4eic::TensorCollectionIterator::operator+= ( difference_type n)

◆ operator-() [1/2]

TensorCollectionIterator::difference_type edm4eic::TensorCollectionIterator::operator- ( const TensorCollectionIterator & other) const

◆ operator-() [2/2]

TensorCollectionIterator edm4eic::TensorCollectionIterator::operator- ( difference_type n) const

◆ operator--() [1/2]

TensorCollectionIterator & edm4eic::TensorCollectionIterator::operator-- ( )

◆ operator--() [2/2]

TensorCollectionIterator edm4eic::TensorCollectionIterator::operator-- ( int )

◆ operator-=()

TensorCollectionIterator & edm4eic::TensorCollectionIterator::operator-= ( difference_type n)

◆ operator->()

TensorCollectionIterator::pointer edm4eic::TensorCollectionIterator::operator-> ( )

◆ operator<=>()

auto edm4eic::TensorCollectionIterator::operator<=> ( const TensorCollectionIterator & other) const
inline

◆ operator=() [1/2]

TensorCollectionIterator & edm4eic::TensorCollectionIterator::operator= ( const TensorCollectionIterator & )
default

◆ operator=() [2/2]

TensorCollectionIterator & edm4eic::TensorCollectionIterator::operator= ( TensorCollectionIterator && )
default

◆ operator==()

bool edm4eic::TensorCollectionIterator::operator== ( const TensorCollectionIterator & x) const
inline

◆ operator[]()

TensorCollectionIterator::reference edm4eic::TensorCollectionIterator::operator[] ( difference_type n) const

Friends And Related Symbol Documentation

◆ operator+


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