Phosphor
Qt6 / Wayland library suite for window-management tools
 
Loading...
Searching...
No Matches
ScriptedAlgorithm.h File Reference
#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.

Classes

class  PhosphorTiles::ScriptedAlgorithm
 

Namespaces

namespace  PhosphorTiles
 
namespace  PhosphorTiles::detail
 

Functions

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 >
PhosphorTiles::detail::jsValueTo (const QJSValue &v)
 Type-converter for QJSValue results — selects toBool() for bool, toInt() for int, toNumber() for qreal.