ChirpSim
 All Classes Namespaces Files Functions Variables Typedefs Friends Macros
Functions
jsonhelpers.cpp File Reference
#include "jsonhelpers.h"
Include dependency graph for jsonhelpers.cpp:

Functions

QPointF jsonObjectToPoint (const QJsonObject &obj)
 Converts a JSON object containing the attributes "x" and "y" to a QPointF object. More...
 

Function Documentation

QPointF jsonObjectToPoint ( const QJsonObject &  obj)

Converts a JSON object containing the attributes "x" and "y" to a QPointF object.

Parameters
objJSON object with "x" and "y" attributes.
Returns
QPointF containing the x and y coordinates given by obj.

Referenced by chirpFactory(), pushableObjectFactory(), and wallFactory().

Here is the caller graph for this function: