OpenTwin 0.1
OpenTwin
 
Loading...
Searching...
No Matches
ContainerHelper.h File Reference

Go to the source code of this file.

Namespaces

namespace  ot
 

Functions

template<typename K , typename V >
std::list< Kot::listFromMapKeys (const std::map< K, V > &_map)
 Creates a list containing all the keys from the provided map.
 
template<typename K , typename V >
std::list< V > ot::listFromMapValues (const std::map< K, V > &_map)
 Creates a list containing all the values from the provided map.
 
template<class K , class V >
void ot::removeFromMapByValue (std::map< K, V > &_map, const V &_value)
 Removes the value from the provided map.
 
template<typename T >
std::vector< T > ot::vectorFromList (const std::list< T > &_list)
 
template<typename T >
std::list< T > ot::listFromVector (const std::vector< T > &_vector)
 

Detailed Description

Author
Alexander Kuester (alexk95)
Date
November 2024