bpp-core3
3.0.0
|
A fiew tools working on map objects. More...
#include <Bpp/Utils/MapTools.h>
Static Public Member Functions | |
template<class Key , class T , class Cmp > | |
static std::vector< Key > | getKeys (const std::map< Key, T, Cmp > &myMap) |
Get a vector of all keys in a map. More... | |
template<class Key , class T > | |
static std::vector< Key > | getKeys (const std::map< Key, T > &myMap) |
Get a vector of all keys in a map. More... | |
template<class Key , class T , class Cmp > | |
static std::vector< T > | getValues (const std::map< Key, T, Cmp > &myMap) |
Get a vector of all values in a map. More... | |
template<class Key , class T > | |
static std::vector< T > | getValues (const std::map< Key, T > &myMap) |
Get a vector of all values in a map. More... | |
A fiew tools working on map objects.
Definition at line 17 of file MapTools.h.
|
inlinestatic |
Get a vector of all keys in a map.
myMap | the map to check. |
Definition at line 27 of file MapTools.h.
Referenced by bpp::AbstractColorSet::getColorNames().
|
inlinestatic |
Get a vector of all keys in a map.
myMap | the map to check. |
Definition at line 44 of file MapTools.h.
|
inlinestatic |
Get a vector of all values in a map.
myMap | the map to check. |
Definition at line 61 of file MapTools.h.
|
inlinestatic |
Get a vector of all values in a map.
myMap | the map to check. |
Definition at line 78 of file MapTools.h.