Main MRPT website > C++ reference for MRPT 1.9.9
aligned_containers.h
Go to the documentation of this file.
1 /* +------------------------------------------------------------------------+
2  | Mobile Robot Programming Toolkit (MRPT) |
3  | http://www.mrpt.org/ |
4  | |
5  | Copyright (c) 2005-2017, Individual contributors, see AUTHORS file |
6  | See: http://www.mrpt.org/Authors - All rights reserved. |
7  | Released under BSD License. See details in http://www.mrpt.org/License |
8  +------------------------------------------------------------------------+ */
9 
10 #ifndef mrpt_aligned_containers_H
11 #define mrpt_aligned_containers_H
12 
13 #include <vector>
14 #include <map>
15 #include <list>
16 #include <deque>
17 
18 // Fwrd. decl:
19 namespace Eigen
20 {
21 template <class T>
23 }
24 
25 namespace mrpt
26 {
27 /** Helper types for STL containers with Eigen memory allocators. (in #include
28  * <mrpt/utils/aligned_containers.h>) */
29 template <class TYPE1, class TYPE2 = TYPE1>
31 {
32  typedef std::pair<TYPE1, TYPE2> pair_t;
33  typedef std::vector<TYPE1, Eigen::aligned_allocator<TYPE1>> vector_t;
34  typedef std::deque<TYPE1, Eigen::aligned_allocator<TYPE1>> deque_t;
35  typedef std::list<TYPE1, Eigen::aligned_allocator<TYPE1>> list_t;
36  typedef std::map<TYPE1, TYPE2, std::less<TYPE1>,
39  typedef std::multimap<
40  TYPE1, TYPE2, std::less<TYPE1>,
43 };
44 }
45 
46 #endif
std::multimap< TYPE1, TYPE2, std::less< TYPE1 >, Eigen::aligned_allocator< std::pair< const TYPE1, TYPE2 > > > multimap_t
std::pair< TYPE1, TYPE2 > pair_t
std::deque< TYPE1, Eigen::aligned_allocator< TYPE1 > > deque_t
Helper types for STL containers with Eigen memory allocators.
This is the global namespace for all Mobile Robot Programming Toolkit (MRPT) libraries.
std::map< TYPE1, TYPE2, std::less< TYPE1 >, Eigen::aligned_allocator< std::pair< const TYPE1, TYPE2 > > > map_t
std::vector< TYPE1, Eigen::aligned_allocator< TYPE1 > > vector_t
std::list< TYPE1, Eigen::aligned_allocator< TYPE1 > > list_t



Page generated by Doxygen 1.8.14 for MRPT 1.9.9 Git: ae4571287 Thu Nov 23 00:06:53 2017 +0100 at dom oct 27 23:51:55 CET 2019