eigenpy
3.13.0
Bindings between Numpy and Eigen using Boost.Python
Toggle main menu visibility
Loading...
Searching...
No Matches
std-map.hpp
1
3
4
#ifndef __eigenpy_std_map_hpp__
5
#define __eigenpy_std_map_hpp__
6
7
#include "eigenpy/map.hpp"
8
#include "eigenpy/deprecated.hpp"
9
#include <map>
10
11
namespace
eigenpy
{
12
13
template
<
typename
Container>
14
using
overload_base_get_item_for_std_map EIGENPY_DEPRECATED_MESSAGE(
15
"Use overload_base_get_item_for_map<> instead."
) =
16
overload_base_get_item_for_map<Container>
;
17
18
namespace
details {
19
using
::eigenpy::overload_base_get_item_for_std_map;
20
}
// namespace details
21
32
template
<
class
Key,
class
T,
class
Compare = std::less<Key>,
33
class
Allocator = std::allocator<std::pair<const Key, T>>,
34
bool
NoProxy = false>
35
struct
StdMapPythonVisitor
36
:
GenericMapVisitor
<std::map<Key, T, Compare, Allocator>, NoProxy> {};
37
38
namespace
python {
39
// fix previous mistake
40
using
::
eigenpy::StdMapPythonVisitor
;
41
}
// namespace python
42
}
// namespace eigenpy
43
44
#endif
// ifndef __eigenpy_std_map_hpp__
eigenpy
Definition
alignment.hpp:14
eigenpy::GenericMapVisitor
Expose the map-like container, e.g. (std::map).
Definition
map.hpp:212
eigenpy::StdMapPythonVisitor
Expose an std::map from a type given as template argument.
Definition
std-map.hpp:36
eigenpy::overload_base_get_item_for_map
Change the behavior of indexing (method getitem in Python). This is suitable e.g. for container of Ei...
Definition
map.hpp:26
include
eigenpy
std-map.hpp
Generated by
1.17.0