nk 1.0.0
C++ Numerical Computing Runtime
Loading...
Searching...
No Matches
play_manifest.hpp
1
29
30#pragma once
31
32#include <string>
33#include <vector>
34
35namespace nk {
36
38{
39 std::string var; // workspace variable the control drives
40 std::string defaultRaw; // raw JSON value of "default" ("" if absent)
41};
42
44{
45 std::string rawJson; // the manifest JSON, untouched
46 std::vector<PlayControl> controls;
47
48 bool empty() const { return rawJson.empty(); }
49};
50
54PlayManifest extractPlayManifest(const std::string &source);
55
56} // namespace nk