QxOrm  1.5.0
C++ Object Relational Mapping library

Provide a Qt QDataStream serialization method (save/load) for type std::shared_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::shared_ptr< T > &t)
template<typename T >
QDataStream & operator>> (QDataStream &stream, std::shared_ptr< T > &t)

Detailed Description

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

Author:
Lionel Marty

Definition in file QxSerializeQDataStream_std_shared_ptr.h.


Function Documentation

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

Definition at line 49 of file QxSerializeQDataStream_std_shared_ptr.h.

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

Definition at line 58 of file QxSerializeQDataStream_std_shared_ptr.h.