aGrUM  0.15.1
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 1327 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;

Referenced by gum::BijectionImplementation< Idx, const std::string *, std::allocator< const std::string * >, std::is_scalar< Idx >::value &&std::is_scalar< const std::string * >::value >::end4Statics().

+ Here is the caller graph for this function:

◆ endSafe4Statics()

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

Creates (if needed) and returns the iterator __BijectionIterEndSafe.

Returns
Returns __BijectionIterEndSafe.

Referenced by gum::BijectionImplementation< Idx, const std::string *, std::allocator< const std::string * >, std::is_scalar< Idx >::value &&std::is_scalar< const std::string * >::value >::endSafe4Statics().

+ Here is the caller graph for this function:

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 1330 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 1337 of file bijection.h.

◆ __BijectionIterEndSafe

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

The safe iterator used by everyone.

Definition at line 1334 of file bijection.h.


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