Bridges-C++  3.4.2
Bridges(C++ API)
Classes | Public Member Functions | List of all members
bridges::datastructure::GraphAdjList< K, E1, E2 >::VertexElementSet_listhelper Class Reference

#include <GraphAdjList.h>

Detailed Description

template<typename K, typename E1 = K, typename E2 = E1>
class bridges::datastructure::GraphAdjList< K, E1, E2 >::VertexElementSet_listhelper

This is a helper class to return sets of vertices in a way that are iterable with range for loops. Students should have to use this directly.

Classes

class  const_iterator
 This is a helper class to return sets of vertices in a way that are iterable with range for loops. Students should have to use this directly. More...
 
class  iterator
 This is a helper class to return sets of vertices in a way that are iterable with range for loops. Students should have to use this directly. More...
 

Public Member Functions

 VertexElementSet_listhelper (std::unordered_map< K, Element< E1 > * > &um)
 
iterator begin ()
 
iterator end ()
 
const_iterator begin () const
 
const_iterator end () const
 

Constructor & Destructor Documentation

◆ VertexElementSet_listhelper()

template<typename K , typename E1 = K, typename E2 = E1>
bridges::datastructure::GraphAdjList< K, E1, E2 >::VertexElementSet_listhelper::VertexElementSet_listhelper ( std::unordered_map< K, Element< E1 > * > &  um)
inline

Member Function Documentation

◆ begin() [1/2]

template<typename K , typename E1 = K, typename E2 = E1>
iterator bridges::datastructure::GraphAdjList< K, E1, E2 >::VertexElementSet_listhelper::begin ( )
inline

◆ begin() [2/2]

template<typename K , typename E1 = K, typename E2 = E1>
const_iterator bridges::datastructure::GraphAdjList< K, E1, E2 >::VertexElementSet_listhelper::begin ( ) const
inline

◆ end() [1/2]

template<typename K , typename E1 = K, typename E2 = E1>
iterator bridges::datastructure::GraphAdjList< K, E1, E2 >::VertexElementSet_listhelper::end ( )
inline

◆ end() [2/2]

template<typename K , typename E1 = K, typename E2 = E1>
const_iterator bridges::datastructure::GraphAdjList< K, E1, E2 >::VertexElementSet_listhelper::end ( ) const
inline

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