OPAL (Object Oriented Parallel Accelerator Library) 2024.2
OPAL
IndexedSIndex< Dim, Brackets > Class Template Reference

#include <IndexedSIndex.h>

Collaboration diagram for IndexedSIndex< Dim, Brackets >:

Public Member Functions

 IndexedSIndex (SIndex< Dim > &s, const NDIndex< Dim > &i)
 IndexedSIndex (const IndexedSIndex< Dim, Brackets > &isi)
 ~IndexedSIndex ()
const SIndex< Dim > & getSIndex () const
const NDIndex< Dim > & getDomain () const
template<class T>
IndexedSIndex< Dim, Brackets > & operator= (const PETE_Expr< T > &rhs)
IndexedSIndex< Dim, Brackets+1 > operator[] (const Index &i)
template<unsigned Dim2>
IndexedSIndex< Dim, Brackets+Dim2 > operator[] (const NDIndex< Dim2 > &ndi)

Private Member Functions

IndexedSIndex< Dim, Brackets > & operator= (const IndexedSIndex< Dim, Brackets > &)

Private Attributes

SIndex< Dim > & sIndex
NDIndex< Dimdomain

Detailed Description

template<unsigned Dim, unsigned Brackets>
class IndexedSIndex< Dim, Brackets >

Definition at line 43 of file IndexedSIndex.h.

Constructor & Destructor Documentation

◆ IndexedSIndex() [1/2]

template<unsigned Dim, unsigned Brackets>
IndexedSIndex< Dim, Brackets >::IndexedSIndex ( SIndex< Dim > & s,
const NDIndex< Dim > & i )
inline

Definition at line 48 of file IndexedSIndex.h.

References domain, and sIndex.

Referenced by IndexedSIndex(), operator=(), operator=(), operator[](), and operator[]().

◆ IndexedSIndex() [2/2]

template<unsigned Dim, unsigned Brackets>
IndexedSIndex< Dim, Brackets >::IndexedSIndex ( const IndexedSIndex< Dim, Brackets > & isi)
inline

Definition at line 51 of file IndexedSIndex.h.

References Dim, domain, IndexedSIndex(), and sIndex.

Here is the call graph for this function:

◆ ~IndexedSIndex()

template<unsigned Dim, unsigned Brackets>
IndexedSIndex< Dim, Brackets >::~IndexedSIndex ( )
inline

Definition at line 55 of file IndexedSIndex.h.

Member Function Documentation

◆ getDomain()

template<unsigned Dim, unsigned Brackets>
const NDIndex< Dim > & IndexedSIndex< Dim, Brackets >::getDomain ( ) const
inline

Definition at line 61 of file IndexedSIndex.h.

References domain.

◆ getSIndex()

template<unsigned Dim, unsigned Brackets>
const SIndex< Dim > & IndexedSIndex< Dim, Brackets >::getSIndex ( ) const
inline

Definition at line 58 of file IndexedSIndex.h.

References sIndex.

◆ operator=() [1/2]

template<unsigned Dim, unsigned Brackets>
IndexedSIndex< Dim, Brackets > & IndexedSIndex< Dim, Brackets >::operator= ( const IndexedSIndex< Dim, Brackets > & )
private

References IndexedSIndex().

Here is the call graph for this function:

◆ operator=() [2/2]

template<unsigned Dim, unsigned Brackets>
template<class T>
IndexedSIndex< Dim, Brackets > & IndexedSIndex< Dim, Brackets >::operator= ( const PETE_Expr< T > & rhs)
inline

Definition at line 67 of file IndexedSIndex.h.

References assign(), CTAssert, Dim, domain, IndexedSIndex(), and sIndex.

Here is the call graph for this function:

◆ operator[]() [1/2]

template<unsigned Dim, unsigned Brackets>
IndexedSIndex< Dim, Brackets+1 > IndexedSIndex< Dim, Brackets >::operator[] ( const Index & i)
inline

Definition at line 78 of file IndexedSIndex.h.

References CTAssert, Dim, domain, IndexedSIndex(), and sIndex.

Here is the call graph for this function:

◆ operator[]() [2/2]

template<unsigned Dim, unsigned Brackets>
template<unsigned Dim2>
IndexedSIndex< Dim, Brackets+Dim2 > IndexedSIndex< Dim, Brackets >::operator[] ( const NDIndex< Dim2 > & ndi)
inline

Definition at line 87 of file IndexedSIndex.h.

References CTAssert, Dim, domain, IndexedSIndex(), and sIndex.

Here is the call graph for this function:

Member Data Documentation

◆ domain

template<unsigned Dim, unsigned Brackets>
NDIndex<Dim> IndexedSIndex< Dim, Brackets >::domain
private

◆ sIndex

template<unsigned Dim, unsigned Brackets>
SIndex<Dim>& IndexedSIndex< Dim, Brackets >::sIndex
private

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