Reverse indexer: associates an Index (i,j) to an offset.
More...
#include <core/alien/kernels/dok/IReverseIndexer.h>
|
| typedef std::pair< Arccore::Int32, Arccore::Int32 > | Index |
| typedef Arccore::Integer | Offset |
|
| virtual std::optional< Index > | operator[] (Offset off) const =0 |
| virtual void | record (Offset off, Index i)=0 |
|
virtual Arccore::Int32 | size () const =0 |
Reverse indexer: associates an Index (i,j) to an offset.
Definition at line 28 of file IReverseIndexer.h.
◆ Index
| typedef std::pair<Arccore::Int32, Arccore::Int32> Alien::IReverseIndexer::Index |
◆ Offset
| typedef Arccore::Integer Alien::IReverseIndexer::Offset |
◆ ~IReverseIndexer()
| virtual Alien::IReverseIndexer::~IReverseIndexer |
( |
| ) |
|
|
inlinevirtual |
◆ operator[]()
| virtual std::optional< Index > Alien::IReverseIndexer::operator[] |
( |
Offset | off | ) |
const |
|
pure virtual |
Returns the Index (i,j) corresponding to an offset
- Parameters
-
- Returns
- Index (i,j)
Implemented in Alien::DoKReverseIndexer.
◆ record()
| virtual void Alien::IReverseIndexer::record |
( |
Offset | off, |
|
|
Index | i ) |
|
pure virtual |
The documentation for this class was generated from the following file: