Hi,
How do I overload the << >> functions to be able to serialize the vectors?
The struct is the next one:
struct realDataValue{
QVector<double> xValueVector;
QVector<double> yValueVector;
bool operator==(const realDataValue &other) const
{
return xValueVector==other.xValueVector && yValueVector==other.yValueVector;
}
};
Thanks a lot.
Bookmarks