Open
Graph Drawing
Framework

 v. 2023.09 (Elderberry)
 

ogdf::matching_blossom::BaseIteratorContainer< Iterator, Key, Value > Class Template Reference

Dummy class for scoped iteration of a std::unordered_map. More...

#include <ogdf/graphalg/matching_blossom/utils.h>

+ Inheritance diagram for ogdf::matching_blossom::BaseIteratorContainer< Iterator, Key, Value >:

Public Member Functions

 BaseIteratorContainer (std::unordered_map< Key, Value > &map)
 
iterator begin ()
 
iterator end ()
 
size_t size ()
 

Private Types

using iterator = Iterator< Key, Value >
 

Private Attributes

std::unordered_map< Key, Value > & m_map
 

Detailed Description

template<template< typename, typename > class Iterator, typename Key, typename Value>
class ogdf::matching_blossom::BaseIteratorContainer< Iterator, Key, Value >

Dummy class for scoped iteration of a std::unordered_map.

Definition at line 112 of file utils.h.

Member Typedef Documentation

◆ iterator

template<template< typename, typename > class Iterator, typename Key , typename Value >
using ogdf::matching_blossom::BaseIteratorContainer< Iterator, Key, Value >::iterator = Iterator<Key, Value>
private

Definition at line 113 of file utils.h.

Constructor & Destructor Documentation

◆ BaseIteratorContainer()

template<template< typename, typename > class Iterator, typename Key , typename Value >
ogdf::matching_blossom::BaseIteratorContainer< Iterator, Key, Value >::BaseIteratorContainer ( std::unordered_map< Key, Value > &  map)
inline

Definition at line 118 of file utils.h.

Member Function Documentation

◆ begin()

template<template< typename, typename > class Iterator, typename Key , typename Value >
iterator ogdf::matching_blossom::BaseIteratorContainer< Iterator, Key, Value >::begin ( )
inline

Definition at line 120 of file utils.h.

◆ end()

template<template< typename, typename > class Iterator, typename Key , typename Value >
iterator ogdf::matching_blossom::BaseIteratorContainer< Iterator, Key, Value >::end ( )
inline

Definition at line 122 of file utils.h.

◆ size()

template<template< typename, typename > class Iterator, typename Key , typename Value >
size_t ogdf::matching_blossom::BaseIteratorContainer< Iterator, Key, Value >::size ( )
inline

Definition at line 124 of file utils.h.

Member Data Documentation

◆ m_map

template<template< typename, typename > class Iterator, typename Key , typename Value >
std::unordered_map<Key, Value>& ogdf::matching_blossom::BaseIteratorContainer< Iterator, Key, Value >::m_map
private

Definition at line 115 of file utils.h.


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