aGrUM  0.13.2
gum::BijectionIteratorStaticEnd Class Reference

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

#include <agrum/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 1325 of file bijection.h.

Member Function Documentation

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

Creates (if needed) and returns the iterator __BijectionIterEnd.

Returns
Returns __BijectionIterEnd;

Referenced by gum::BijectionImplementation< T1, T2, Alloc, Gen >::end4Statics(), and gum::BijectionImplementation< T1, T2, Alloc, Gen >::toString().

+ Here is the caller graph for this function:

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

Creates (if needed) and returns the iterator __BijectionIterEndSafe.

Returns
Returns __BijectionIterEndSafe.

Referenced by gum::BijectionImplementation< T1, T2, Alloc, Gen >::endSafe4Statics(), and gum::BijectionImplementation< T1, T2, Alloc, Gen >::toString().

+ Here is the caller graph for this function:

Friends And Related Function Documentation

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

Friends that have access to the iterator.

Definition at line 1328 of file bijection.h.

Member Data Documentation

const BijectionIterator< int, int >* gum::BijectionIteratorStaticEnd::__BijectionIterEnd
staticprivate
const BijectionIteratorSafe< int, int >* gum::BijectionIteratorStaticEnd::__BijectionIterEndSafe
staticprivate

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