12#ifndef ARCANE_CORE_ITEMTYPEMNG_H
13#define ARCANE_CORE_ITEMTYPEMNG_H
18#include "arcane/utils/Array.h"
67 friend class mesh::DynamicMesh;
68 friend class mesh::PolyhedralMesh;
69 friend class Application;
70 friend class ArcaneMain;
73 friend ItemTypeInfoBuilder;
91 ARCCORE_DEPRECATED_REASON(
"Y2025: Use build(IMesh*) instead")
115 static void _destroySingleton();
127 ARCCORE_DEPRECATED_2021(
"Use IMesh::itemTypeMng() to get an instance of ItemTypeMng")
135 ARCCORE_DEPRECATED_2021(
"Do not use this method")
156 void printTypes(std::ostream& ostr);
159 bool hasGeneralCells(
IMesh* mesh)
const;
162 void setMeshWithGeneralCells(
IMesh* mesh)
noexcept;
170 void buildPolygonTypes();
185 static Integer nbBasicItemType();
188 static Integer nbBuiltInItemType();
199 static const Integer m_nb_builtin_item_type;
202 bool m_initialized =
false;
204 std::atomic<Int32> m_initialized_counter = 0;
216 std::set<IMesh*> m_mesh_with_general_cells;
222 bool m_has_polygon_type =
false;
Déclarations de types sur les entités.
Déclarations des types utilisés dans Arcane.
Vue constante d'un tableau de type T.
Interface du gestionnaire de traces.
Type d'une entité (Item).
Infos sur un type d'entité du maillage.
Gestionnaire des types d'entités d'un maillage.
ItemTypeMng()
Constructeur vide (non initialisé)
static ItemTypeMng * singleton()
Instance singleton du type.
void build(IParallelSuperMng *parallel_mng, ITraceMng *trace)
Constructeur effectif.
static void destroySingleton()
Détruit le singleton.
Chaîne de caractères unicode.
Vecteur 1D de données avec sémantique par valeur (style STL).
-*- tab-width: 2; indent-tabs-mode: nil; coding: utf-8-with-signature -*-
Int32 Integer
Type représentant un entier.
std::int16_t Int16
Type entier signé sur 16 bits.
std::int32_t Int32
Type entier signé sur 32 bits.