cctw  0.2.1
Functions
cctwintvector3dproperty.cpp File Reference
#include "cctwintvector3dproperty.h"
#include "qcepmutexlocker.h"
#include "qcepdebug.h"
#include "qcepsettingssaver.h"
#include <QScriptEngine>
#include <stdio.h>
Include dependency graph for cctwintvector3dproperty.cpp:

Go to the source code of this file.

Functions

QDataStream & operator<< (QDataStream &stream, const CctwIntVector3D &vec)
 
QDataStream & operator>> (QDataStream &stream, CctwIntVector3D &vec)
 

Function Documentation

QDataStream& operator<< ( QDataStream &  stream,
const CctwIntVector3D vec 
)

Definition at line 252 of file cctwintvector3dproperty.cpp.

253 {
254  for (int i = 0; i < 3; ++i) {
255  stream << vec(i);
256  }
257 
258  return stream;
259 }
QDataStream& operator>> ( QDataStream &  stream,
CctwIntVector3D vec 
)

Definition at line 261 of file cctwintvector3dproperty.cpp.

262 {
263  int x;
264  for (int i = 0; i < 3; ++i) {
265  stream >> x;
266  vec(i) = x;
267  }
268 
269  return stream;
270 }