aGrUM  0.20.3
a C++ library for (probabilistic) graphical models
gum::BijectionIteratorStaticEnd Class Reference

A class which creates the static iterator used by gim::Bijections. More...

#include <agrum/tools/core/bijection.h>

+ Collaboration diagram for gum::BijectionIteratorStaticEnd:

Friends

template<typename T1 , typename T2 , typename Alloc , bool >
class BijectionImplementation
 Friends that have access to the iterator. More...
 

Detailed Description

A class which creates the static iterator used by gim::Bijections.

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

Definition at line 1316 of file bijection.h.

Member Function Documentation

◆ end4Statics()

static const BijectionIterator< int, int >* gum::BijectionIteratorStaticEnd::end4Statics ( )
staticprivate

Creates (if needed) and returns the iterator BijectionIterEnd.

Returns
Returns BijectionIterEnd;

◆ endSafe4Statics()

static const BijectionIteratorSafe< int, int >* gum::BijectionIteratorStaticEnd::endSafe4Statics ( )
staticprivate

Creates (if needed) and returns the iterator BijectionIterEndSafe

Returns
Returns BijectionIterEndSafe.

Friends And Related Function Documentation

◆ BijectionImplementation

template<typename T1 , typename T2 , typename Alloc , bool >
friend class BijectionImplementation
friend

Friends that have access to the iterator.

Definition at line 1319 of file bijection.h.

Member Data Documentation

◆ _BijectionIterEnd_

const BijectionIterator< int, int >* gum::BijectionIteratorStaticEnd::_BijectionIterEnd_
staticprivate

The unsafe iterator used by everyone.

Definition at line 1326 of file bijection.h.

◆ _BijectionIterEndSafe_

const BijectionIteratorSafe< int, int >* gum::BijectionIteratorStaticEnd::_BijectionIterEndSafe_
staticprivate

The safe iterator used by everyone.

Definition at line 1323 of file bijection.h.


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