aGrUM  0.16.0
gum::HashTableIteratorStaticEnd Class Reference

A class used to create the static iterator used by HashTables. More...

#include <agrum/core/hashTable.h>

+ Collaboration diagram for gum::HashTableIteratorStaticEnd:

Friends

template<typename Key , typename Val , typename Alloc >
class HashTable
 Friends that have access to the iterator. More...
 

Detailed Description

A class used to create the static iterator used by HashTables.

The aim of using this class rather than just creating __HashTableIterEnd as a global variable is to prevent other classes to access and modify __HashTableIterEnd.

Definition at line 1831 of file hashTable.h.

Member Function Documentation

◆ constEnd4Statics()

static const HashTableConstIterator< int, int >* gum::HashTableIteratorStaticEnd::constEnd4Statics ( )
staticprivate

Creates (if needed) and returns the iterator __HashTableIterEnd.

Returns
Returns the iterator __HashTableIterEnd.

◆ constEndSafe4Statics()

static const HashTableConstIteratorSafe< int, int >* gum::HashTableIteratorStaticEnd::constEndSafe4Statics ( )
staticprivate

Creates (if needed) and returns the iterator __HashTableIterEndSafe.

Returns
Returns the iterator __HashTableIterEndSafe.

◆ end4Statics()

static const HashTableIterator< int, int >* gum::HashTableIteratorStaticEnd::end4Statics ( )
staticprivate

Creates (if needed) and returns the iterator __HashTableIterEnd.

Returns
Returns the iterator __HashTableIterEnd.

◆ endSafe4Statics()

static const HashTableIteratorSafe< int, int >* gum::HashTableIteratorStaticEnd::endSafe4Statics ( )
staticprivate

Creates (if needed) and returns the iterator __HashTableIterEndSafe.

Returns
Returns the iterator __HashTableIterEndSafe.

Friends And Related Function Documentation

◆ HashTable

template<typename Key , typename Val , typename Alloc >
friend class HashTable
friend

Friends that have access to the iterator.

Definition at line 1867 of file hashTable.h.

Member Data Documentation

◆ __HashTableIterEnd

const HashTableIterator< int, int >* gum::HashTableIteratorStaticEnd::__HashTableIterEnd
staticprivate

The unsafe iterator used by everyone.

Definition at line 1834 of file hashTable.h.

◆ __HashTableIterEndSafe

const HashTableIteratorSafe< int, int >* gum::HashTableIteratorStaticEnd::__HashTableIterEndSafe
staticprivate

The safe iterator used by everyone.

Definition at line 1837 of file hashTable.h.


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