Max OS 0.3
Loading...
Searching...
No Matches
MaxOS::common::MapIterationHandler< Key, Value > Class Template Reference

Handles iteration of a map. More...

#include <map.h>

Public Member Functions

 MapIterationHandler ()
 ______________ TEMPLATE IMPLEMENTATION ______________
 
virtual void on_read (Key, Value)
 Called when a key-value pair is read.
 
virtual void on_end_of_stream ()
 Called when the end of the stream is reached.
 

Detailed Description

template<class Key, class Value>
class MaxOS::common::MapIterationHandler< Key, Value >

Handles iteration of a map.

Template Parameters
KeyThe key type
ValueThe value type

Definition at line 25 of file map.h.

Member Function Documentation

◆ on_end_of_stream()

template<class Key , class Value >
void MaxOS::common::MapIterationHandler< Key, Value >::on_end_of_stream ( )
virtual

Called when the end of the stream is reached.

Template Parameters
KeyThe key type
ValueThe value type

Definition at line 91 of file map.h.

91 {
92
93 }

Referenced by MaxOS::common::Map< Key, Value >::iterate().

◆ on_read()

template<class Key , class Value >
void MaxOS::common::MapIterationHandler< Key, Value >::on_read ( Key  ,
Value   
)
virtual

Called when a key-value pair is read.

Template Parameters
KeyThe key type
ValueThe value type

Definition at line 101 of file map.h.

101 {
102
103 }

Referenced by MaxOS::common::Map< Key, Value >::iterate().


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