SDRAngel  4.11.5
Developer docs for <a href="https://github.com/f4exb/sdrangel">SDRangel<\a>, an Open Source Qt5 / OpenGL 3.0+ SDR and signal analyzer frontend to various hardware.
Functions
deviceuserargs.cpp File Reference
#include <QDataStream>
#include "util/simpleserializer.h"
#include "deviceuserargs.h"
+ Include dependency graph for deviceuserargs.cpp:

Go to the source code of this file.

Functions

QDataStream & operator<< (QDataStream &ds, const DeviceUserArgs::Args &inObj)
 
QDataStream & operator>> (QDataStream &ds, DeviceUserArgs::Args &outObj)
 

Function Documentation

◆ operator<<()

QDataStream& operator<< ( QDataStream &  ds,
const DeviceUserArgs::Args inObj 
)

Definition at line 23 of file deviceuserargs.cpp.

References DeviceUserArgs::Args::m_args, DeviceUserArgs::Args::m_id, and DeviceUserArgs::Args::m_sequence.

24 {
25  ds << inObj.m_id << inObj.m_sequence << inObj.m_args;
26  return ds;
27 }

◆ operator>>()

QDataStream& operator>> ( QDataStream &  ds,
DeviceUserArgs::Args outObj 
)

Definition at line 29 of file deviceuserargs.cpp.

References DeviceUserArgs::Args::m_args, DeviceUserArgs::Args::m_id, and DeviceUserArgs::Args::m_sequence.

30 {
31  ds >> outObj.m_id >> outObj.m_sequence >> outObj.m_args;
32  return ds;
33 }