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

Interface for an array data of type T. More...

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

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

Public Member Functions

virtual void reserve (Integer new_capacity)=0
 Reserves memory for new_capacity elements.
virtual Array< DataType > & _internalDeprecatedValue ()=0
 Container associated with the data.
virtual Integer capacity () const =0
 Capacity allocated by the container.
virtual void shrink () const =0
 Frees additional allocated memory.
virtual void resize (Integer new_size)=0
 Resizes the container.
virtual void dispose ()=0
 Clears the container and frees 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::IArrayDataInternalT< DataType >

Interface for an array data of type T.

Definition at line 189 of file IDataInternal.h.

Member Function Documentation

◆ _internalDeprecatedValue()

template<class DataType>
virtual Array< DataType > & Arcane::IArrayDataInternalT< DataType >::_internalDeprecatedValue ( )
pure virtual

Container associated with the data.

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

◆ capacity()

template<class DataType>
virtual Integer Arcane::IArrayDataInternalT< DataType >::capacity ( ) const
pure virtual

Capacity allocated by the container.

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

◆ dispose()

template<class DataType>
virtual void Arcane::IArrayDataInternalT< DataType >::dispose ( )
pure virtual

Clears the container and frees allocated memory.

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

◆ reserve()

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

Reserves memory for new_capacity elements.

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

◆ resize()

template<class DataType>
virtual void Arcane::IArrayDataInternalT< DataType >::resize ( Integer new_size)
pure virtual

Resizes the container.

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

◆ shrink()

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

Frees additional allocated memory.

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


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