QxOrm  1.5.0
C++ Object Relational Mapping library

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

#include <QtCore/qdatastream.h>

Go to the source code of this file.

Functions

template<typename T >
QDataStream & operator<< (QDataStream &stream, const boost::optional< T > &t)
template<typename T >
QDataStream & operator>> (QDataStream &stream, boost::optional< T > &t)

Detailed Description

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

Author:
Lionel Marty

Definition in file QxSerializeQDataStream_boost_optional.h.


Function Documentation

template<typename T >
QDataStream& operator<< ( QDataStream &  stream,
const boost::optional< T > &  t 
)

Definition at line 50 of file QxSerializeQDataStream_boost_optional.h.

template<typename T >
QDataStream& operator>> ( QDataStream &  stream,
boost::optional< T > &  t 
)

Definition at line 59 of file QxSerializeQDataStream_boost_optional.h.