#include "ScriptedAlgorithmHelpers.h"
#include "SplitTree.h"
#include "TilingAlgorithm.h"
#include <QJSValue>
#include <algorithm>
#include <atomic>
#include <functional>
#include <memory>
#include <type_traits>
Go to the source code of this file.
|
| template<typename T > |
| bool | PhosphorTiles::detail::jsValueHasType (const QJSValue &v) |
| | Type-checker for QJSValue results — selects isBool() for bool, isNumber() for numeric types.
|
| |
| template<typename T > |
| T | PhosphorTiles::detail::jsValueTo (const QJSValue &v) |
| | Type-converter for QJSValue results — selects toBool() for bool, toInt() for int, toNumber() for qreal.
|
| |