26 lines
826 B
C++
26 lines
826 B
C++
#ifndef QCLASSSTDSTREAM_H
|
|
#define QCLASSSTDSTREAM_H
|
|
|
|
#include <QImage>
|
|
#include <QString>
|
|
#include <QVector3D>
|
|
#include <ostream>
|
|
|
|
namespace std {
|
|
|
|
inline std::ostream &operator<<(std::ostream &stream, const QVector3D &element) {
|
|
stream << "(" << element.x() << "," << element.y() << "," << element.z() << ")";
|
|
return stream;
|
|
}
|
|
|
|
std::ostream &operator<<(std::ostream &stream, const QString &element);
|
|
std::ostream &operator<<(std::ostream &stream, const QStringList &element);
|
|
|
|
std::ostream &operator<<(std::ostream &stream, const QPoint &element);
|
|
std::ostream &operator<<(std::ostream &stream, const QPointF &element);
|
|
std::ostream &operator<<(std::ostream &stream, const QSize &element);
|
|
std::ostream &operator<<(std::ostream &stream, const QImage::Format &element);
|
|
} // namespace std
|
|
|
|
#endif // QCLASSSTDSTREAM_H
|