QxOrm  1.5.0
C++ Object Relational Mapping library

Provide a Qt QDataStream serialization method (save/load) for type std::unordered_set<T> and std::unordered_multiset<T> (C++11 compilation option _QX_CPP_11_CONTAINER must be defined) More...

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

Go to the source code of this file.

Functions

template<typename T >
QDataStream & operator<< (QDataStream &stream, const std::unordered_set< T > &t)
template<typename T >
QDataStream & operator>> (QDataStream &stream, std::unordered_set< T > &t)
template<typename T >
QDataStream & operator<< (QDataStream &stream, const std::unordered_multiset< T > &t)
template<typename T >
QDataStream & operator>> (QDataStream &stream, std::unordered_multiset< T > &t)

Detailed Description

Provide a Qt QDataStream serialization method (save/load) for type std::unordered_set<T> and std::unordered_multiset<T> (C++11 compilation option _QX_CPP_11_CONTAINER must be defined)

Author:
Lionel Marty

Definition in file QxSerializeQDataStream_std_unordered_set.h.


Function Documentation

template<typename T >
QDataStream& operator<< ( QDataStream &  stream,
const std::unordered_set< T > &  t 
)

Definition at line 51 of file QxSerializeQDataStream_std_unordered_set.h.

template<typename T >
QDataStream& operator<< ( QDataStream &  stream,
const std::unordered_multiset< T > &  t 
)

Definition at line 74 of file QxSerializeQDataStream_std_unordered_set.h.

template<typename T >
QDataStream& operator>> ( QDataStream &  stream,
std::unordered_set< T > &  t 
)

Definition at line 62 of file QxSerializeQDataStream_std_unordered_set.h.

template<typename T >
QDataStream& operator>> ( QDataStream &  stream,
std::unordered_multiset< T > &  t 
)

Definition at line 85 of file QxSerializeQDataStream_std_unordered_set.h.