Arcane  4.1.15.0
User documentation
Loading...
Searching...
No Matches
Arcane::ArrayBounds< Extents > Class Template Reference

Represents the bounds of a multidimensional array. More...

#include <arccore/base/ArrayBounds.h>

Public Types

using ExtentsType = Extents
using ExtentIndexType = Extents::ExtentIndexType
using BaseClass = ArrayBoundsBase<ExtentsType>
using ArrayExtentsType = ArrayExtents<ExtentsType>
using LoopIndexType = BaseClass::LoopIndexType
Public Types inherited from Arcane::ArrayBoundsBase< Extents >
using BaseClass = ArrayExtents<Extents>
using MDIndexType = BaseClass::MDIndexType
using LoopIndexType = BaseClass::LoopIndexType
using ExtentIndexType = Extents::ExtentIndexType
using ArrayExtentType = ArrayExtents<Extents>

Public Member Functions

constexpr ArrayBounds (ExtentIndexType dim1, ExtentIndexType dim2, ExtentIndexType dim3, ExtentIndexType dim4)
constexpr ArrayBounds (ExtentIndexType dim1, ExtentIndexType dim2, ExtentIndexType dim3)
constexpr ArrayBounds (ExtentIndexType dim1, ExtentIndexType dim2)
constexpr ArrayBounds (ExtentIndexType dim1)
constexpr ArrayBounds (const ArrayExtentsType &v)
constexpr ArrayBounds (std::array< ExtentIndexType, Extents::nb_dynamic > &v)
Public Member Functions inherited from Arcane::ArrayBoundsBase< Extents >
constexpr ArrayBoundsBase (const BaseClass &rhs)
constexpr ArrayBoundsBase (const std::array< ExtentIndexType, Extents::nb_dynamic > &v)
constexpr Int64 nbElement () const

Static Public Member Functions

template<typename OtherArrayBounds>
static constexpr ArrayBounds fromOther (const OtherArrayBounds &rhs)
 Convert to a ArrayBound with same Extent buf with a different index type.

Detailed Description

template<typename Extents>
class Arcane::ArrayBounds< Extents >

Represents the bounds of a multidimensional array.

Definition at line 76 of file arccore/src/base/arccore/base/ArrayBounds.h.

Member Typedef Documentation

◆ ArrayExtentsType

template<typename Extents>
using Arcane::ArrayBounds< Extents >::ArrayExtentsType = ArrayExtents<ExtentsType>

Definition at line 86 of file arccore/src/base/arccore/base/ArrayBounds.h.

◆ BaseClass

template<typename Extents>
using Arcane::ArrayBounds< Extents >::BaseClass = ArrayBoundsBase<ExtentsType>

Definition at line 85 of file arccore/src/base/arccore/base/ArrayBounds.h.

◆ ExtentIndexType

template<typename Extents>
using Arcane::ArrayBounds< Extents >::ExtentIndexType = Extents::ExtentIndexType

Definition at line 84 of file arccore/src/base/arccore/base/ArrayBounds.h.

◆ ExtentsType

template<typename Extents>
using Arcane::ArrayBounds< Extents >::ExtentsType = Extents

Definition at line 83 of file arccore/src/base/arccore/base/ArrayBounds.h.

◆ LoopIndexType

template<typename Extents>
using Arcane::ArrayBounds< Extents >::LoopIndexType = BaseClass::LoopIndexType

Definition at line 87 of file arccore/src/base/arccore/base/ArrayBounds.h.

Constructor & Destructor Documentation

◆ ArrayBounds() [1/6]

template<typename Extents>
Arcane::ArrayBounds< Extents >::ArrayBounds ( ExtentIndexType dim1,
ExtentIndexType dim2,
ExtentIndexType dim3,
ExtentIndexType dim4 )
inlineconstexpr

Definition at line 91 of file arccore/src/base/arccore/base/ArrayBounds.h.

◆ ArrayBounds() [2/6]

template<typename Extents>
Arcane::ArrayBounds< Extents >::ArrayBounds ( ExtentIndexType dim1,
ExtentIndexType dim2,
ExtentIndexType dim3 )
inlineconstexpr

Definition at line 97 of file arccore/src/base/arccore/base/ArrayBounds.h.

◆ ArrayBounds() [3/6]

template<typename Extents>
Arcane::ArrayBounds< Extents >::ArrayBounds ( ExtentIndexType dim1,
ExtentIndexType dim2 )
inlineconstexpr

Definition at line 103 of file arccore/src/base/arccore/base/ArrayBounds.h.

◆ ArrayBounds() [4/6]

template<typename Extents>
Arcane::ArrayBounds< Extents >::ArrayBounds ( ExtentIndexType dim1)
inlineconstexpr

Definition at line 108 of file arccore/src/base/arccore/base/ArrayBounds.h.

◆ ArrayBounds() [5/6]

template<typename Extents>
Arcane::ArrayBounds< Extents >::ArrayBounds ( const ArrayExtentsType & v)
inlineexplicitconstexpr

Definition at line 113 of file arccore/src/base/arccore/base/ArrayBounds.h.

◆ ArrayBounds() [6/6]

template<typename Extents>
Arcane::ArrayBounds< Extents >::ArrayBounds ( std::array< ExtentIndexType, Extents::nb_dynamic > & v)
inlineexplicitconstexpr

Definition at line 118 of file arccore/src/base/arccore/base/ArrayBounds.h.

Member Function Documentation

◆ fromOther()

template<typename Extents>
template<typename OtherArrayBounds>
constexpr ArrayBounds Arcane::ArrayBounds< Extents >::fromOther ( const OtherArrayBounds< Extents > & rhs)
inlinestaticconstexpr

Convert to a ArrayBound with same Extent buf with a different index type.

Definition at line 125 of file arccore/src/base/arccore/base/ArrayBounds.h.

◆ ArrayBounds

template<typename Extents>
template<typename OtherExtents>
friend class ArrayBounds
friend

Definition at line 79 of file arccore/src/base/arccore/base/ArrayBounds.h.


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