Arcane  4.1.12.0
Developer documentation
Loading...
Searching...
No Matches
Arcane::StringArrayData::Impl Class Reference
Inheritance diagram for Arcane::StringArrayData::Impl:
Collaboration diagram for Arcane::StringArrayData::Impl:

Public Types

using String = DataType

Public Member Functions

 Impl (StringArrayData *p)
void reserve (Integer new_capacity) override
 Reserves memory for new_capacity elements.
Array< DataType > & _internalDeprecatedValue () override
 Container associated with the data.
Integer capacity () const override
 Capacity allocated by the container.
void shrink () const override
 Frees additional allocated memory.
void resize (Integer new_size) override
 Resizes the container.
void dispose () override
 Clears the container and frees allocated memory.
void computeHash (DataHashInfo &hash_info) override
 Calculates the hash of the data.
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).

Private Attributes

StringArrayData * m_p

Detailed Description

Definition at line 151 of file StringArrayData.cc.

Member Typedef Documentation

◆ String

using Arcane::StringArrayData::Impl::String = DataType

Definition at line 156 of file StringArrayData.cc.

Constructor & Destructor Documentation

◆ Impl()

Arcane::StringArrayData::Impl::Impl ( StringArrayData * p)
inlineexplicit

Definition at line 158 of file StringArrayData.cc.

Member Function Documentation

◆ _internalDeprecatedValue()

Array< DataType > & Arcane::StringArrayData::Impl::_internalDeprecatedValue ( )
inlineoverridevirtual

Container associated with the data.

Implements Arcane::IArrayDataInternalT< String >.

Definition at line 165 of file StringArrayData.cc.

◆ capacity()

Integer Arcane::StringArrayData::Impl::capacity ( ) const
inlineoverridevirtual

Capacity allocated by the container.

Implements Arcane::IArrayDataInternalT< String >.

Definition at line 166 of file StringArrayData.cc.

◆ computeHash()

void Arcane::StringArrayData::Impl::computeHash ( DataHashInfo & hash_info)
inlineoverridevirtual

Calculates the hash of the data.

Outputs the version and value into hash_info.m_version and hash_info.m_value.

Implements Arcane::IDataInternal.

Definition at line 170 of file StringArrayData.cc.

◆ dispose()

void Arcane::StringArrayData::Impl::dispose ( )
inlineoverridevirtual

Clears the container and frees allocated memory.

Implements Arcane::IArrayDataInternalT< String >.

Definition at line 169 of file StringArrayData.cc.

◆ reserve()

void Arcane::StringArrayData::Impl::reserve ( Integer new_capacity)
inlineoverridevirtual

Reserves memory for new_capacity elements.

Implements Arcane::IArrayDataInternalT< String >.

Definition at line 164 of file StringArrayData.cc.

◆ resize()

void Arcane::StringArrayData::Impl::resize ( Integer new_size)
inlineoverridevirtual

Resizes the container.

Implements Arcane::IArrayDataInternalT< String >.

Definition at line 168 of file StringArrayData.cc.

◆ shrink()

void Arcane::StringArrayData::Impl::shrink ( ) const
inlineoverridevirtual

Frees additional allocated memory.

Implements Arcane::IArrayDataInternalT< String >.

Definition at line 167 of file StringArrayData.cc.

Member Data Documentation

◆ m_p

StringArrayData* Arcane::StringArrayData::Impl::m_p
private

Definition at line 177 of file StringArrayData.cc.


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