Arcane  4.1.12.0
Developer documentation
Loading...
Searching...
No Matches
Arcane::INumericDataInternal Class Referenceabstract

Interface for an 'IData' of a numeric type. More...

#include <arcane/core/internal/IDataInternal.h>

Inheritance diagram for Arcane::INumericDataInternal:
Collaboration diagram for Arcane::INumericDataInternal:

Public Member Functions

virtual MutableMemoryView memoryView ()=0
 Memory view of the data.
virtual Int32 extent0 () const =0
 Number of elements in the first dimension.
virtual void changeAllocator (const MemoryAllocationOptions &alloc_info)=0
 Changes the variable's allocator.
virtual IMemoryAllocatormemoryAllocator () const =0
 Allocator used for the data.

Detailed Description

Interface for an 'IData' of a numeric type.

Numeric types are the types of eBasicDataType.

Generally, all IData are of this type except StringScalarData or StringArrayData.

Definition at line 147 of file IDataInternal.h.

Member Function Documentation

◆ changeAllocator()

virtual void Arcane::INumericDataInternal::changeAllocator ( const MemoryAllocationOptions & alloc_info)
pure virtual

Changes the variable's allocator.

Warning
For experimental use only.

Implemented in Arcane::Array2DataT< DataType >::Impl, and Arcane::ArrayDataT< DataType >::Impl.

Referenced by Arcane::VariablePrivate::changeAllocator().

Here is the caller graph for this function:

◆ extent0()

virtual Int32 Arcane::INumericDataInternal::extent0 ( ) const
pure virtual

Number of elements in the first dimension.

Implemented in Arcane::Array2DataT< DataType >::Impl, and Arcane::ArrayDataT< DataType >::Impl.

◆ memoryAllocator()

virtual IMemoryAllocator * Arcane::INumericDataInternal::memoryAllocator ( ) const
pure virtual

Allocator used for the data.

Implemented in Arcane::Array2DataT< DataType >::Impl, and Arcane::ArrayDataT< DataType >::Impl.

Referenced by Arcane::VariableUtils::prefetchVariableAsync().

Here is the caller graph for this function:

◆ memoryView()

virtual MutableMemoryView Arcane::INumericDataInternal::memoryView ( )
pure virtual

Memory view of the data.

Implemented in Arcane::Array2DataT< DataType >::Impl, and Arcane::ArrayDataT< DataType >::Impl.

Referenced by Arcane::DataSynchronizeDispatcher::beginSynchronize(), Arcane::VariablePrivate::computeComparisonHashCollective(), and Arcane::VariableUtils::prefetchVariableAsync().

Here is the caller graph for this function:

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