Arcane  4.1.12.0
User documentation
Loading...
Searching...
No Matches
Arcane::IItemFamilyPolicyMng Class Referenceabstract

Interface for entity family policies. More...

#include <arcane/core/IItemFamilyPolicyMng.h>

Public Member Functions

virtual IItemFamilyCompactPolicycompactPolicy ()=0
 Compaction policy.
virtual IItemFamilyExchangercreateExchanger ()=0
 Creates an instance for exchanging entities between subdomains. The returned instance must be destroyed by the delete operator.
virtual IItemFamilySerializercreateSerializer (bool with_flags=false)=0
 Creates an instance for entity serialization. The returned instance must be destroyed by the delete operator.
virtual void addSerializeStep (IItemFamilySerializeStepFactory *factory)=0
 Adds a factory for a serialization step.
virtual void removeSerializeStep (IItemFamilySerializeStepFactory *factory)=0
 Removes a factory for a serialization step.

Detailed Description

Interface for entity family policies.

Definition at line 31 of file IItemFamilyPolicyMng.h.

Member Function Documentation

◆ addSerializeStep()

virtual void Arcane::IItemFamilyPolicyMng::addSerializeStep ( IItemFamilySerializeStepFactory * factory)
pure virtual

Adds a factory for a serialization step.

factory remains the property of the caller and must not be destroyed as long as this instance exists.

Referenced by Arcane::Materials::MeshMaterialExchangeMng::registerFactory().

◆ createSerializer()

virtual IItemFamilySerializer * Arcane::IItemFamilyPolicyMng::createSerializer ( bool with_flags = false)
pure virtual

Creates an instance for entity serialization. The returned instance must be destroyed by the delete operator.

with_flags indicates whether the value of Item::flags() should be serialized. This is not necessarily supported for all families.


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