Qt 4.8
Classes | Functions
qscriptdebuggerresponse.cpp File Reference
#include "qscriptdebuggerresponse_p.h"
#include "qscriptdebuggervalue_p.h"
#include <QtScript/qscriptcontextinfo.h>
#include <QtCore/qdatastream.h>

Go to the source code of this file.

Classes

class  QScriptDebuggerResponsePrivate
 

Functions

QDataStreamoperator<< (QDataStream &out, const QScriptDebuggerResponse &response)
 
QDataStreamoperator>> (QDataStream &in, QScriptDebuggerResponse &response)
 

Function Documentation

◆ operator<<()

QDataStream& operator<< ( QDataStream out,
const QScriptDebuggerResponse response 
)

Definition at line 326 of file qscriptdebuggerresponse.cpp.

327 {
328  const QScriptDebuggerResponsePrivate *d = response.d_ptr.data();
329  out << (quint32)d->error;
330  out << d->result;
331  out << d->async;
332  return out;
333 }
double d
Definition: qnumeric_p.h:62
T * data() const
Returns the value of the pointer referenced by this object.
QScopedPointer< QScriptDebuggerResponsePrivate > d_ptr
QScriptDebuggerResponse::Error error
unsigned int quint32
Definition: qglobal.h:938

◆ operator>>()

QDataStream& operator>> ( QDataStream in,
QScriptDebuggerResponse response 
)

Definition at line 345 of file qscriptdebuggerresponse.cpp.

346 {
348 
349  quint32 error;
350  in >> error;
352  in >> d->result;
353  in >> d->async;
354 
355  return in;
356 }
double d
Definition: qnumeric_p.h:62
T * data() const
Returns the value of the pointer referenced by this object.
#define error(msg)
QScopedPointer< QScriptDebuggerResponsePrivate > d_ptr
QScriptDebuggerResponse::Error error
unsigned int quint32
Definition: qglobal.h:938