QxOrm  1.5.0
C++ Object Relational Mapping library

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

#include <QtCore/qdatastream.h>
#include <QtCore/QWeakPointer>
#include <QxSerialize/QDataStream/QxSerializeQDataStream_QSharedPointer.h>

Go to the source code of this file.

Functions

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

Detailed Description

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

Author:
Lionel Marty

Definition in file QxSerializeQDataStream_QWeakPointer.h.


Function Documentation

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

Definition at line 52 of file QxSerializeQDataStream_QWeakPointer.h.

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

Definition at line 60 of file QxSerializeQDataStream_QWeakPointer.h.