QxOrm  1.4.9
C++ Object Relational Mapping library

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

#include <QtCore/qdatastream.h>

Go to the source code of this file.

Functions

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

Detailed Description

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

Author:
Lionel Marty

Definition in file QxSerializeQDataStream_std_unique_ptr.h.


Function Documentation

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

Definition at line 49 of file QxSerializeQDataStream_std_unique_ptr.h.

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

Definition at line 58 of file QxSerializeQDataStream_std_unique_ptr.h.