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

Public Member Functions

virtual void build ()=0
 Builds the instance.
virtual ITraceMngtraceMng () const =0
 Associated trace manager.
virtual void registerDataStorageFactory (Ref< IDataStorageFactory > factory)=0
 Registers the factory factory.
virtual Ref< IDatacreateSimpleDataRef (const String &storage_type, const DataStorageBuildInfo &build_info)=0
virtual IDataOperationcreateDataOperation (Parallel::eReduceType rt)=0
 Creates an operation performing a reduction of type rt.
virtual Ref< ISerializedDatacreateSerializedDataRef (eDataType data_type, Int64 memory_size, Integer nb_dim, Int64 nb_element, Int64 nb_base_element, bool is_multi_size, Int64ConstArrayView dimensions)=0
 Creates serialized data.
virtual Ref< ISerializedDatacreateEmptySerializedDataRef ()=0
 Creates serialized data.
virtual IDataFactorydeprecatedOldFactory () const =0
 Retrieves the old factory (obsolete).

Detailed Description

Definition at line 40 of file IDataFactoryMng.h.

Member Function Documentation

◆ createEmptySerializedDataRef()

virtual Ref< ISerializedData > Arcane::IDataFactoryMng::createEmptySerializedDataRef ( )
pure virtual

Creates serialized data.

The serialized data is empty. It can only be used after calling an ISerializedData::serialize() in ISerializer::ModePut mode.

Deprecated
Use arcaneCreateEmptySerializedDataRef() instead.

References createEmptySerializedDataRef().

Referenced by createEmptySerializedDataRef().

◆ createSerializedDataRef()

virtual Ref< ISerializedData > Arcane::IDataFactoryMng::createSerializedDataRef ( eDataType data_type,
Int64 memory_size,
Integer nb_dim,
Int64 nb_element,
Int64 nb_base_element,
bool is_multi_size,
Int64ConstArrayView dimensions )
pure virtual

Creates serialized data.

The arrays dimensions and values are not duplicated and must not be modified while the serialized object is in use.

The data_type must be one of the types: DT_Byte, DT_Int16, DT_Int32, DT_Int64, or DT_Real.

Deprecated
Use arcaneCreateSerializedDataRef() instead

References createSerializedDataRef().

Referenced by createSerializedDataRef().


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