Arcane  4.1.12.0
User documentation
Loading...
Searching...
No Matches
Arcane::GroupIndexTable Class Reference

Public Types

typedef Int32 KeyTypeValue
typedef Int32 ValueType
typedef HashTraitsT< KeyTypeValue > KeyTraitsType
typedef KeyTraitsType::KeyTypeConstRef KeyTypeConstRef

Public Member Functions

 GroupIndexTable (ItemGroupImpl *group_impl)
void update ()
void clear ()
void compact (const Int32ConstArrayView *info)
ValueType operator[] (Int32 i) const
KeyTypeValue keyLocalId (Int32 i) const
Int32 size () const
GroupIndexTableView view () const
Public Member Functions inherited from Arcane::HashTableBase
 HashTableBase (Integer table_size, bool use_prime)
 Creates a table of size table_size.
Integer nearestPrimeNumber (Integer n)
 Returns the nearest prime number greater than n. The nearest prime number greater than n is returned using a pre-determined prime number table.
Integer count () const
 Number of elements in the table.

Additional Inherited Members

Protected Member Functions inherited from Arcane::HashTableBase
void _throwNotFound ARCANE_NORETURN () const
Protected Attributes inherited from Arcane::HashTableBase
Integer m_count
 Number of elements.
Integer m_nb_bucket
 Number of buckets.

Detailed Description

Definition at line 83 of file GroupIndexTable.h.

Member Typedef Documentation

◆ KeyTraitsType

typedef HashTraitsT<KeyTypeValue> Arcane::GroupIndexTable::KeyTraitsType

Definition at line 90 of file GroupIndexTable.h.

◆ KeyTypeConstRef

typedef KeyTraitsType::KeyTypeConstRef Arcane::GroupIndexTable::KeyTypeConstRef

Definition at line 91 of file GroupIndexTable.h.

◆ KeyTypeValue

typedef Int32 Arcane::GroupIndexTable::KeyTypeValue

Definition at line 88 of file GroupIndexTable.h.

◆ ValueType

typedef Int32 Arcane::GroupIndexTable::ValueType

Definition at line 89 of file GroupIndexTable.h.

Constructor & Destructor Documentation

◆ GroupIndexTable()

Arcane::GroupIndexTable::GroupIndexTable ( ItemGroupImpl * group_impl)
explicit

Definition at line 35 of file GroupIndexTable.cc.

Member Function Documentation

◆ compact()

void Arcane::GroupIndexTable::compact ( const Int32ConstArrayView * info)

Definition at line 94 of file GroupIndexTable.cc.

◆ keyLocalId()

KeyTypeValue Arcane::GroupIndexTable::keyLocalId ( Int32 i) const
inline

Definition at line 107 of file GroupIndexTable.h.

◆ operator[]()

ValueType Arcane::GroupIndexTable::operator[] ( Int32 i) const
inline

Definition at line 105 of file GroupIndexTable.h.

◆ size()

Int32 Arcane::GroupIndexTable::size ( ) const
inline

Definition at line 109 of file GroupIndexTable.h.

◆ update()

void Arcane::GroupIndexTable::update ( )

Definition at line 65 of file GroupIndexTable.cc.

◆ view()

GroupIndexTableView Arcane::GroupIndexTable::view ( ) const
inline

Definition at line 111 of file GroupIndexTable.h.


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