MRPT  2.0.4
Namespaces | Macros | Typedefs | Functions
stl_serialization.h File Reference
#include <mrpt/serialization/CArchive.h>
#include <mrpt/serialization/metaprogramming_serialization.h>
#include <mrpt/typemeta/TTypeName_stl.h>
#include <algorithm>
#include <array>
#include <deque>
#include <list>
#include <map>
#include <set>
#include <vector>
Include dependency graph for stl_serialization.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

 mrpt::serialization
 

Macros

#define MRPTSTL_SERIALIZABLE_SEQ_CONTAINER(CONTAINER)
 
#define MRPTSTL_SERIALIZABLE_SIMPLE_ASSOC_CONTAINER(CONTAINER)
 

Typedefs

template<typename T >
using mrpt::serialization::is_map_like = std::is_same< typename T::value_type, std::pair< const typename T::key_type, typename T::mapped_type > >
 
template<typename T >
using mrpt::serialization::is_map = std::is_same< T, typename std::map< typename T::key_type, typename T::mapped_type, typename T::key_compare, typename T::allocator_type > >
 
template<typename T >
using mrpt::serialization::is_multimap = std::is_same< T, typename std::multimap< typename T::key_type, typename T::mapped_type, typename T::key_compare, typename T::allocator_type > >
 

Functions

template<typename T , std::enable_if_t< is_map< T >::value, int > = 0>
std::string mrpt::serialization::containerName ()
 
template<typename T , std::enable_if_t< is_simple_type< T >::value, int > = 0>
CArchive & mrpt::serialization::operator<< (CArchive &out, const T &obj)
 Template method to serialize an associative STL container. More...
 
template<typename T , std::enable_if_t< is_simple_type< T >::value, int > = 0>
CArchive & mrpt::serialization::operator>> (CArchive &in, T &obj)
 Template method to deserialize an associative STL container. More...
 
template<class T , size_t N>
CArchive & mrpt::serialization::operator<< (CArchive &out, const std::array< T, N > &obj)
 Template method to serialize a std::array<T,N> More...
 
template<class T , size_t N>
CArchive & mrpt::serialization::operator>> (CArchive &in, std::array< T, N > &obj)
 Template method to deserialize a std::array<T,N> More...
 
template<class T1 , class T2 >
CArchive & mrpt::serialization::operator<< (CArchive &out, const std::pair< T1, T2 > &obj)
 Template method to serialize a STL pair. More...
 
template<class T1 , class T2 >
CArchive & mrpt::serialization::operator>> (CArchive &in, std::pair< T1, T2 > &obj)
 Template method to deserialize a STL pair. More...
 



Page generated by Doxygen 1.8.14 for MRPT 2.0.4 Git: 33de1d0ad Sat Jun 20 11:02:42 2020 +0200 at sáb jun 20 17:35:17 CEST 2020