QxOrm  1.4.5
C++ Object Relational Mapping library

Provide a Qt QDataStream serialization method (save/load) for type QSharedPointer<T> More...

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

Go to the source code of this file.

Functions

template<typename T >
QDataStream & operator<< (QDataStream &stream, const QSharedPointer< T > &t)
template<typename T >
QDataStream & operator>> (QDataStream &stream, QSharedPointer< T > &t)

Detailed Description

Provide a Qt QDataStream serialization method (save/load) for type QSharedPointer<T>

Author:
Lionel Marty

Definition in file QxSerializeQDataStream_QSharedPointer.h.


Function Documentation

template<typename T >
QDataStream& operator<< ( QDataStream &  stream,
const QSharedPointer< T > &  t 
)

Definition at line 50 of file QxSerializeQDataStream_QSharedPointer.h.

template<typename T >
QDataStream& operator>> ( QDataStream &  stream,
QSharedPointer< T > &  t 
)

Definition at line 59 of file QxSerializeQDataStream_QSharedPointer.h.