QxOrm  1.5.0
C++ Object Relational Mapping library

Provide a Qt QDataStream serialization method (save/load) for type std::unordered_map<Key, Value> and std::unordered_multimap<Key, Value> (C++11 compilation option _QX_CPP_11_CONTAINER must be defined) More...

#include <QtCore/qdatastream.h>
#include <unordered_map>

Go to the source code of this file.

Functions

template<typename Key , typename Value >
QDataStream & operator<< (QDataStream &stream, const std::unordered_map< Key, Value > &t)
template<typename Key , typename Value >
QDataStream & operator>> (QDataStream &stream, std::unordered_map< Key, Value > &t)
template<typename Key , typename Value >
QDataStream & operator<< (QDataStream &stream, const std::unordered_multimap< Key, Value > &t)
template<typename Key , typename Value >
QDataStream & operator>> (QDataStream &stream, std::unordered_multimap< Key, Value > &t)

Detailed Description

Provide a Qt QDataStream serialization method (save/load) for type std::unordered_map<Key, Value> and std::unordered_multimap<Key, Value> (C++11 compilation option _QX_CPP_11_CONTAINER must be defined)

Author:
Lionel Marty

Definition in file QxSerializeQDataStream_std_unordered_map.h.


Function Documentation

template<typename Key , typename Value >
QDataStream& operator<< ( QDataStream &  stream,
const std::unordered_map< Key, Value > &  t 
)

Definition at line 51 of file QxSerializeQDataStream_std_unordered_map.h.

template<typename Key , typename Value >
QDataStream& operator<< ( QDataStream &  stream,
const std::unordered_multimap< Key, Value > &  t 
)

Definition at line 85 of file QxSerializeQDataStream_std_unordered_map.h.

template<typename Key , typename Value >
QDataStream& operator>> ( QDataStream &  stream,
std::unordered_map< Key, Value > &  t 
)

Definition at line 67 of file QxSerializeQDataStream_std_unordered_map.h.

template<typename Key , typename Value >
QDataStream& operator>> ( QDataStream &  stream,
std::unordered_multimap< Key, Value > &  t 
)

Definition at line 101 of file QxSerializeQDataStream_std_unordered_map.h.