hugin_base/hugin_utils/stl_utils.h File Reference
#include <functional>
#include <algorithm>
#include <utility>
#include <string>
#include <string.h>
#include <ctype.h>
#include <stdexcept>
#include <hugin_utils/utils.h>
Include dependency graph for stl_utils.h:
This graph shows which files directly or indirectly include this file:
Go to the source code of this file.
|
Namespaces |
| namespace | hugin_utils |
Functions |
| std::string | tolower (const std::string &s) |
| | convert a string to lowercase
|
| template<typename _Container> |
| bool | set_contains (const _Container &c, const typename _Container::key_type &key) |
| template<typename _Container> |
| void | fill_set (_Container &c, typename _Container::key_type begin, typename _Container::key_type end) |
| template<typename Map> |
| Map::mapped_type & | map_get (Map &m, const typename Map::key_type &key) |
| | get a map element.
|
| template<typename Map> |
| const Map::mapped_type & | const_map_get (const Map &m, const typename Map::key_type &key) |
| template<typename Map> |
| Map::mapped_type & | map_get (Map &m, const char *key) |
| template<typename Map> |
| const Map::mapped_type & | const_map_get (const Map &m, const char *key) |
Function Documentation
|
template<typename Map> |
| const Map::mapped_type& const_map_get |
( |
const Map & |
m, |
|
|
const char * |
key |
|
) |
|
|
|
template<typename Map> |
| const Map::mapped_type& const_map_get |
( |
const Map & |
m, |
|
|
const typename Map::key_type & |
key |
|
) |
|
|
|
template<typename _Container> |
| void fill_set |
( |
_Container & |
c, |
|
|
typename _Container::key_type |
begin, |
|
|
typename _Container::key_type |
end |
|
) |
[inline] |
|
|
template<typename Map> |
| Map::mapped_type& map_get |
( |
Map & |
m, |
|
|
const char * |
key |
|
) |
|
|
|
template<typename Map> |
| Map::mapped_type& map_get |
( |
Map & |
m, |
|
|
const typename Map::key_type & |
key |
|
) |
|
|
|
|
get a map element.
does not create a new element in the map, like operator[] does
Throws an error if the element does not exist |
|
template<typename _Container> |
| bool set_contains |
( |
const _Container & |
c, |
|
|
const typename _Container::key_type & |
key |
|
) |
[inline] |
|
| std::string tolower |
( |
const std::string & |
s |
) |
[inline] |
|
|
|
convert a string to lowercase
|