Forme d'un tableau. Plus de détails...
#include <arcane/utils/ArrayShape.h>
Graphe de collaboration de Arcane::ArrayShape:Fonctions membres publiques | |
| ArrayShape (Span< const Int32 > v) | |
| Int32 | nbDimension () const |
| Rang de la forme. | |
| SmallSpan< const Int32 > | dimensions () const |
| Valeurs de chaque dimension. | |
| Int32 | dimension (Int32 index) const |
| Nombre d'élements de la index-ème dimension. | |
| Int64 | totalNbElement () const |
| Nombre total d'élements. | |
| void | setNbDimension (Int32 nb_value) |
| Positionne le rang de la forme. | |
| void | setDimension (Int32 index, Int32 value) |
| Positionne la valeur de la index-ème dimension à value. | |
| void | setDimensions (Span< const Int32 > dims) |
| Positionne le nombre et la valeur des dimensions. | |
Attributs publics statiques | |
| static constexpr int | MAX_NB_DIMENSION = 8 |
Fonctions membres privées | |
| void | _set (SmallSpan< const Int32 > v) |
| void | _print (std::ostream &o) const |
Fonctions membres privées statiques | |
| static bool | _isEqual (const ArrayShape &s1, const ArrayShape &s2) |
Attributs privés | |
| Int32 | m_nb_dim = 0 |
| std::array< Int32, MAX_NB_DIMENSION > | m_dims = {} |
Amis | |
| std::ostream & | operator<< (std::ostream &o, const ArrayShape &s) |
| bool | operator== (const ArrayShape &s1, const ArrayShape &s2) |
| bool | operator!= (const ArrayShape &s1, const ArrayShape &s2) |
Forme d'un tableau.
Définition à la ligne 39 du fichier ArrayShape.h.
Définition à la ligne 29 du fichier ArrayShape.cc.
|
staticprivate |
Définition à la ligne 72 du fichier ArrayShape.cc.
|
private |
Définition à la ligne 87 du fichier ArrayShape.cc.
Définition à la ligne 49 du fichier ArrayShape.cc.
Nombre d'élements de la index-ème dimension.
Définition à la ligne 57 du fichier ArrayShape.h.
Valeurs de chaque dimension.
Définition à la ligne 54 du fichier ArrayShape.h.
Référencé par Arcane::MeshMDVariableRefBaseT< ItemType, DataType, AddedFirstExtentsType >::updateFromInternal().
Voici le graphe des appelants de cette fonction :
|
inline |
Rang de la forme.
Définition à la ligne 51 du fichier ArrayShape.h.
Positionne la valeur de la index-ème dimension à value.
Définition à la ligne 72 du fichier ArrayShape.h.
Positionne le nombre et la valeur des dimensions.
Définition à la ligne 63 du fichier ArrayShape.cc.
Références Arcane::SpanImpl< T, SizeType, Extent, MinValue >::smallView().
Voici le graphe d'appel pour cette fonction :| void Arcane::ArrayShape::setNbDimension | ( | Int32 | nb_value | ) |
Positionne le rang de la forme.
Définition à la ligne 38 du fichier ArrayShape.cc.
Références ARCANE_THROW.
Référencé par Arcane::MeshMDVariableRefBaseT< ItemType, DataType, AddedFirstExtentsType >::updateFromInternal().
Voici le graphe des appelants de cette fonction :
|
inline |
Nombre total d'élements.
Définition à la ligne 60 du fichier ArrayShape.h.
|
friend |
Définition à la ligne 86 du fichier ArrayShape.h.
|
friend |
Définition à la ligne 77 du fichier ArrayShape.h.
|
friend |
Définition à la ligne 82 du fichier ArrayShape.h.
|
private |
Définition à la ligne 94 du fichier ArrayShape.h.
|
private |
Définition à la ligne 93 du fichier ArrayShape.h.
|
staticconstexpr |
Définition à la ligne 43 du fichier ArrayShape.h.