Interface for an array data of type T. More...
#include <arcane/core/internal/IDataInternal.h>
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 INumericDataInternal * | numericData () |
| 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. | |
Interface for an array data of type T.
Definition at line 189 of file IDataInternal.h.
|
pure virtual |
Container associated with the data.
Implemented in Arcane::ArrayDataT< DataType >::Impl, and Arcane::StringArrayData::Impl.
|
pure virtual |
Capacity allocated by the container.
Implemented in Arcane::ArrayDataT< DataType >::Impl, and Arcane::StringArrayData::Impl.
|
pure virtual |
Clears the container and frees allocated memory.
Implemented in Arcane::ArrayDataT< DataType >::Impl, and Arcane::StringArrayData::Impl.
|
pure virtual |
Reserves memory for new_capacity elements.
Implemented in Arcane::ArrayDataT< DataType >::Impl, and Arcane::StringArrayData::Impl.
|
pure virtual |
Resizes the container.
Implemented in Arcane::ArrayDataT< DataType >::Impl, and Arcane::StringArrayData::Impl.
|
pure virtual |
Frees additional allocated memory.
Implemented in Arcane::ArrayDataT< DataType >::Impl, and Arcane::StringArrayData::Impl.