12#ifndef ARCANE_MESH_ABSTRACTITEMFAMILYTOPOLOGYMODIFIER_H
13#define ARCANE_MESH_ABSTRACTITEMFAMILYTOPOLOGYMODIFIER_H
17#include "arcane/utils/TraceAccessor.h"
19#include "arcane/core/IItemFamilyTopologyModifier.h"
21#include "arcane/mesh/MeshGlobal.h"
35class ARCANE_MESH_EXPORT AbstractItemFamilyTopologyModifier
41 AbstractItemFamilyTopologyModifier(
IItemFamily* afamily);
42 virtual ~AbstractItemFamilyTopologyModifier() {}
71 void _throwNotSupported();
Interface for modifying the topology of entities within a family.
Interface of an entity family.
Index of an Item in a variable.
View on a vector of entities.
TraceAccessor(ITraceMng *m)
Constructs an accessor via the trace manager m.
void replaceNode(ItemLocalId item_lid, Integer index, ItemLocalId new_node_lid) override
Replaces a node of an entity.
void findAndReplaceFace(ItemLocalId item_lid, ItemLocalId old_face_lid, ItemLocalId new_face_lid) override
Finds and replaces a face of an entity.
Int32 _getItemIndex(const Int32 *items, Integer nb_item, Int32 local_id)
Searches for the index of the entity with localid() local_id in the list items.
void replaceEdge(ItemLocalId item_lid, Integer index, ItemLocalId new_edge_lid) override
Replaces an edge of an entity.
void findAndReplaceNode(ItemLocalId item_lid, ItemLocalId old_node_lid, ItemLocalId new_node_lid) override
Finds and replaces a node of an entity.
void replaceHChild(ItemLocalId item_lid, Integer index, ItemLocalId new_hchild_lid) override
Replaces a child entity of an entity.
void replaceCell(ItemLocalId item_lid, Integer index, ItemLocalId new_cell_lid) override
Replaces a cell of an entity.
void replaceHParent(ItemLocalId item_lid, Integer index, ItemLocalId new_hparent_lid) override
Replaces a parent entity of an entity.
void findAndReplaceCell(ItemLocalId item_lid, ItemLocalId old_cell_lid, ItemLocalId new_cell_lid) override
Finds and replaces a cell of an entity.
IItemFamily * family() const override
Associated family.
void replaceFace(ItemLocalId item_lid, Integer index, ItemLocalId new_face_lid) override
Replaces a face of an entity.
void findAndReplaceEdge(ItemLocalId item_lid, ItemLocalId old_edge_lid, ItemLocalId new_edge_lid) override
Finds and replaces an edge of an entity.
Int32 Integer
Type representing an integer.
std::int32_t Int32
Signed integer type of 32 bits.