Hammer  1.0.0
Helicity Amplitude Module for Matrix Element Reweighting
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Hammer::MultiDimensional::OuterElemIterator Class Reference

#include <BlockIndexing.hh>

+ Collaboration diagram for Hammer::MultiDimensional::OuterElemIterator:

Public Types

using EntryType = std::vector< std::pair< SharedTensorData, bool >>
 

Public Member Functions

 OuterElemIterator (const EntryType &entry)
 
OuterElemIteratoroperator= (const OuterElemIterator &)=delete
 
OuterElemIteratoroperator= (OuterElemIterator &&)=delete
 
 OuterElemIterator (OuterElemIterator &&other)=default
 
OuterElemIterator begin () const
 
OuterElemIterator end () const
 
OuterElemIteratoroperator++ ()
 
OuterElemIterator operator++ (int n)
 
IContainer::ElementType operator* ()
 
PositionType position (IndexType idx) const
 
bool isAligned (IndexType idx) const
 
bool isSame (const OuterElemIterator &other) const
 

Private Types

using IteratorList = std::vector< ISingleContainer::NonZeroIt >
 
using ContainerList = std::vector< ISingleContainer * >
 

Private Member Functions

 OuterElemIterator (const OuterElemIterator &other)
 
void incrementEntry (size_t position, int n)
 
void setInitialState ()
 
void setFinalState ()
 

Private Attributes

const EntryType_entry
 
ContainerList _containers
 
IteratorList _it
 
IndexList _dimensions
 

Detailed Description

Definition at line 27 of file BlockIndexing.hh.

Member Typedef Documentation

Definition at line 62 of file BlockIndexing.hh.

Definition at line 29 of file BlockIndexing.hh.

Constructor & Destructor Documentation

Hammer::MultiDimensional::OuterElemIterator::OuterElemIterator ( const EntryType entry)

Definition at line 282 of file BlockIndexing.cc.

Hammer::MultiDimensional::OuterElemIterator::OuterElemIterator ( OuterElemIterator &&  other)
default
Hammer::MultiDimensional::OuterElemIterator::OuterElemIterator ( const OuterElemIterator other)
private

Definition at line 280 of file BlockIndexing.cc.

Member Function Documentation

OuterElemIterator Hammer::MultiDimensional::OuterElemIterator::begin ( ) const

Definition at line 297 of file BlockIndexing.cc.

OuterElemIterator Hammer::MultiDimensional::OuterElemIterator::end ( ) const

Definition at line 303 of file BlockIndexing.cc.

void Hammer::MultiDimensional::OuterElemIterator::incrementEntry ( size_t  position,
int  n 
)
private

Definition at line 359 of file BlockIndexing.cc.

bool Hammer::MultiDimensional::OuterElemIterator::isAligned ( IndexType  idx) const

Definition at line 332 of file BlockIndexing.cc.

bool Hammer::MultiDimensional::OuterElemIterator::isSame ( const OuterElemIterator other) const

Definition at line 336 of file BlockIndexing.cc.

IContainer::ElementType Hammer::MultiDimensional::OuterElemIterator::operator* ( )

Definition at line 320 of file BlockIndexing.cc.

OuterElemIterator & Hammer::MultiDimensional::OuterElemIterator::operator++ ( )

Definition at line 309 of file BlockIndexing.cc.

OuterElemIterator Hammer::MultiDimensional::OuterElemIterator::operator++ ( int  n)

Definition at line 314 of file BlockIndexing.cc.

OuterElemIterator& Hammer::MultiDimensional::OuterElemIterator::operator= ( const OuterElemIterator )
delete
OuterElemIterator& Hammer::MultiDimensional::OuterElemIterator::operator= ( OuterElemIterator &&  )
delete
PositionType Hammer::MultiDimensional::OuterElemIterator::position ( IndexType  idx) const

Definition at line 328 of file BlockIndexing.cc.

void Hammer::MultiDimensional::OuterElemIterator::setFinalState ( )
private

Definition at line 352 of file BlockIndexing.cc.

void Hammer::MultiDimensional::OuterElemIterator::setInitialState ( )
private

Definition at line 345 of file BlockIndexing.cc.

Member Data Documentation

ContainerList Hammer::MultiDimensional::OuterElemIterator::_containers
private

Definition at line 65 of file BlockIndexing.hh.

IndexList Hammer::MultiDimensional::OuterElemIterator::_dimensions
private

Definition at line 67 of file BlockIndexing.hh.

const EntryType& Hammer::MultiDimensional::OuterElemIterator::_entry
private

Definition at line 64 of file BlockIndexing.hh.

IteratorList Hammer::MultiDimensional::OuterElemIterator::_it
private

Definition at line 66 of file BlockIndexing.hh.


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