Mantid
|
Functor to get second point in a map. More...
#include <MapSupport.h>
Public Member Functions | |
NumPart | operator() (const KeyPart &Ky) const |
Access via key. More... | |
sndValue (const std::map< KeyPart, NumPart > &Mr) | |
Create with Map. More... | |
Private Attributes | |
const std::map< KeyPart, NumPart > & | MRef |
Map begin accessd. More... | |
Functor to get second point in a map.
This functor takes a map of key,value returns just the value. It is built so that the useage is
Additionally it does not throw any exceptions on key not found.
Definition at line 172 of file MapSupport.h.
|
inline |
Create with Map.
Definition at line 178 of file MapSupport.h.
|
inline |
Access via key.
Definition at line 181 of file MapSupport.h.
References MapSupport::sndValue< KeyPart, NumPart >::MRef.
|
private |
Map begin accessd.
Definition at line 174 of file MapSupport.h.
Referenced by MapSupport::sndValue< KeyPart, NumPart >::operator()().