QxOrm  1.5.0
C++ Object Relational Mapping library

Provide a Qt QDataStream serialization method (save/load) for type std::string and std::wstring. More...

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

Go to the source code of this file.

Functions

QX_DLL_EXPORT QDataStream & operator<< (QDataStream &stream, const std::string &t) QX_USED
QX_DLL_EXPORT QDataStream & operator>> (QDataStream &stream, std::string &t) QX_USED
QX_DLL_EXPORT QDataStream & operator<< (QDataStream &stream, const std::wstring &t) QX_USED
QX_DLL_EXPORT QDataStream & operator>> (QDataStream &stream, std::wstring &t) QX_USED

Detailed Description

Provide a Qt QDataStream serialization method (save/load) for type std::string and std::wstring.

Author:
Lionel Marty

Definition in file QxSerializeQDataStream_std_string.h.


Function Documentation

QX_DLL_EXPORT QDataStream& operator<< ( QDataStream &  stream,
const std::string &  t 
)
QX_DLL_EXPORT QDataStream& operator<< ( QDataStream &  stream,
const std::wstring &  t 
)
QX_DLL_EXPORT QDataStream& operator>> ( QDataStream &  stream,
std::string &  t 
)
QX_DLL_EXPORT QDataStream& operator>> ( QDataStream &  stream,
std::wstring &  t 
)