Qt 4.8
Classes | Functions
qscriptdebuggervalueproperty.cpp File Reference
#include "qscriptdebuggervalueproperty_p.h"
#include "qscriptdebuggervalue_p.h"
#include "qscriptdebuggerobjectsnapshotdelta_p.h"
#include <QtCore/qatomic.h>
#include <QtCore/qdatastream.h>
#include <QtCore/qstring.h>

Go to the source code of this file.

Classes

class  QScriptDebuggerValuePropertyPrivate
 

Functions

QDataStreamoperator<< (QDataStream &out, const QScriptDebuggerValueProperty &property)
 
QDataStreamoperator<< (QDataStream &out, const QScriptDebuggerObjectSnapshotDelta &delta)
 
QDataStreamoperator>> (QDataStream &in, QScriptDebuggerValueProperty &property)
 
QDataStreamoperator>> (QDataStream &in, QScriptDebuggerObjectSnapshotDelta &delta)
 

Function Documentation

◆ operator<<() [1/2]

QDataStream& operator<< ( QDataStream out,
const QScriptDebuggerValueProperty property 
)
related

Definition at line 191 of file qscriptdebuggervalueproperty.cpp.

192 {
193  out << property.name();
194  out << property.value();
195  out << property.valueAsString();
196  out << (quint32)property.flags();
197  return out;
198 }
QScriptValue::PropertyFlags flags() const
Returns the flags of this QScriptDebuggerValueProperty.
unsigned int quint32
Definition: qglobal.h:938

◆ operator<<() [2/2]

QDataStream& operator<< ( QDataStream out,
const QScriptDebuggerObjectSnapshotDelta delta 
)

Definition at line 225 of file qscriptdebuggervalueproperty.cpp.

226 {
227  out << delta.removedProperties;
228  out << delta.changedProperties;
229  out << delta.addedProperties;
230  return out;
231 }

◆ operator>>() [1/2]

QDataStream& operator>> ( QDataStream in,
QScriptDebuggerValueProperty property 
)
related

Definition at line 210 of file qscriptdebuggervalueproperty.cpp.

211 {
212  QString name;
213  QScriptDebuggerValue value;
214  QString valueAsString;
215  quint32 flags;
216  in >> name;
217  in >> value;
218  in >> valueAsString;
219  in >> flags;
220  property = QScriptDebuggerValueProperty(
221  name, value, valueAsString, QScriptValue::PropertyFlags(flags));
222  return in;
223 }
The QString class provides a Unicode character string.
Definition: qstring.h:83
const char * name
The QScriptDebuggerValue class represents a script value.
PropertyFlags
Definition: qmetaobject_p.h:61
unsigned int quint32
Definition: qglobal.h:938

◆ operator>>() [2/2]

QDataStream& operator>> ( QDataStream in,
QScriptDebuggerObjectSnapshotDelta delta 
)

Definition at line 233 of file qscriptdebuggervalueproperty.cpp.

234 {
235  in >> delta.removedProperties;
236  in >> delta.changedProperties;
237  in >> delta.addedProperties;
238  return in;
239 }