OverSim
KeyExtractor< std::pair< NodeHandle, simtime_t > > Struct Template Reference

Class for extracting the relevant OverlayKey from a type used as template parameter T_key for NodeVector<T, T_key> - Version for a pair of NodeHandles, first one is assumed to be relevant. More...

#include <NodeVector.h>

Static Public Member Functions

static const OverlayKeykey (const std::pair< NodeHandle, simtime_t > &nodes)

Detailed Description

template<>
struct KeyExtractor< std::pair< NodeHandle, simtime_t > >

Class for extracting the relevant OverlayKey from a type used as template parameter T_key for NodeVector<T, T_key> - Version for a pair of NodeHandles, first one is assumed to be relevant.

Author
Felix M. Palmen

Definition at line 94 of file NodeVector.h.

Member Function Documentation

static const OverlayKey& KeyExtractor< std::pair< NodeHandle, simtime_t > >::key ( const std::pair< NodeHandle, simtime_t > &  nodes)
inlinestatic

Definition at line 95 of file NodeVector.h.

{
return nodes.first.getKey();
};

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