Interface for modifying a family. More...
#include <arcane/core/IItemFamilyModifier.h>
Public Member Functions | |
| virtual | ~IItemFamilyModifier () |
| ItemInternal * | allocOne (Int64 uid, ItemTypeInfo *type, mesh::MeshInfos &mesh_info) |
| ItemInternal * | findOrAllocOne (Int64 uid, ItemTypeInfo *type, mesh::MeshInfos &mesh_info, bool &is_alloc) |
| virtual Item | allocOne (Int64 uid, ItemTypeId type_id, mesh::MeshInfos &mesh_info)=0 |
| Allocates an element in the family and updates the corresponding mesh_info. | |
| virtual Item | findOrAllocOne (Int64 uid, ItemTypeId type_id, mesh::MeshInfos &mesh_info, bool &is_alloc)=0 |
| virtual IItemFamily * | family ()=0 |
Interface for modifying a family.
This class allows for the generic modification of items within a family. It is used in the family modification workflow based on the dependency graph (IItemFamilyNetwork). It is only implemented in mesh item families (i.e., everything except ParticleFamily and DoFFamily, where it is not necessary)
Definition at line 46 of file IItemFamilyModifier.h.
|
inlinevirtual |
Class destructor
Definition at line 51 of file IItemFamilyModifier.h.
|
pure virtual |
Allocates an element in the family and updates the corresponding mesh_info.
Implemented in Arcane::mesh::CellFamily, Arcane::mesh::DoFFamily, Arcane::mesh::EdgeFamily, Arcane::mesh::FaceFamily, and Arcane::mesh::NodeFamily.
| ItemInternal * Arcane::IItemFamilyModifier::allocOne | ( | Int64 | uid, |
| ItemTypeInfo * | type, | ||
| mesh::MeshInfos & | mesh_info ) |
Definition at line 224 of file InterfaceImpl.cc.
|
pure virtual |
Implemented in Arcane::mesh::EdgeFamily, and Arcane::mesh::FaceFamily.
| ItemInternal * Arcane::IItemFamilyModifier::findOrAllocOne | ( | Int64 | uid, |
| ItemTypeInfo * | type, | ||
| mesh::MeshInfos & | mesh_info, | ||
| bool & | is_alloc ) |
Definition at line 233 of file InterfaceImpl.cc.