Arcane  4.1.12.0
Developer documentation
Loading...
Searching...
No Matches
Arcane::IArray2DataInternalT< DataType > Class Template Referenceabstract

Interface for a two-dimensional array data of type T. More...

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

Inheritance diagram for Arcane::IArray2DataInternalT< DataType >:
Collaboration diagram for Arcane::IArray2DataInternalT< DataType >:

Public Member Functions

virtual void reserve (Integer new_capacity)=0
 Reserves memory for new_capacity elements.
virtual Array2< DataType > & _internalDeprecatedValue ()=0
 Container associated with the data.
virtual void resizeOnlyDim1 (Int32 new_dim1_size)=0
 Resizes the container only in dimension 1.
virtual void resize (Int32 new_dim1_size, Int32 new_dim2_size)=0
 Resizes the container.
virtual void shrink () const =0
 Frees additional allocated memory.
Public Member Functions inherited from Arcane::IDataInternal
virtual bool compressAndClear (DataCompressionBuffer &buf)
 Compresses the data and frees the associated memory.
virtual bool decompressAndFill (DataCompressionBuffer &buf)
 Decompresses the data and fills the data values.
virtual INumericDataInternalnumericData ()
 Generic interface for numeric data (nullptr if the data is not numeric).
virtual void computeHash (DataHashInfo &hash_info)=0
 Calculates the hash of the data.

Detailed Description

template<class DataType>
class Arcane::IArray2DataInternalT< DataType >

Interface for a two-dimensional array data of type T.

Definition at line 221 of file IDataInternal.h.

Member Function Documentation

◆ _internalDeprecatedValue()

template<class DataType>
virtual Array2< DataType > & Arcane::IArray2DataInternalT< DataType >::_internalDeprecatedValue ( )
pure virtual

Container associated with the data.

Implemented in Arcane::Array2DataT< DataType >::Impl.

◆ reserve()

template<class DataType>
virtual void Arcane::IArray2DataInternalT< DataType >::reserve ( Integer new_capacity)
pure virtual

Reserves memory for new_capacity elements.

Implemented in Arcane::Array2DataT< DataType >::Impl.

◆ resize()

template<class DataType>
virtual void Arcane::IArray2DataInternalT< DataType >::resize ( Int32 new_dim1_size,
Int32 new_dim2_size )
pure virtual

Resizes the container.

Implemented in Arcane::Array2DataT< DataType >::Impl.

◆ resizeOnlyDim1()

template<class DataType>
virtual void Arcane::IArray2DataInternalT< DataType >::resizeOnlyDim1 ( Int32 new_dim1_size)
pure virtual

Resizes the container only in dimension 1.

Implemented in Arcane::Array2DataT< DataType >::Impl.

◆ shrink()

template<class DataType>
virtual void Arcane::IArray2DataInternalT< DataType >::shrink ( ) const
pure virtual

Frees additional allocated memory.

Implemented in Arcane::Array2DataT< DataType >::Impl.


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