aGrUM  0.20.2
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 1326 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 1329 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 1336 of file bijection.h.

◆ BijectionIterEndSafe__

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

The safe iterator used by everyone.

Definition at line 1333 of file bijection.h.


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