2#include <score/serialization/DataStreamFwd.hpp>
3#include <score/tools/std/Optional.hpp>
5#include <ossia/network/value/value.hpp>
7#include <ossia-qt/value_metatypes.hpp>
9#include <score_lib_state_export.h>
16using impulse = ossia::impulse;
18using vec2f = ossia::vec2f;
19using vec3f = ossia::vec3f;
20using vec4f = ossia::vec4f;
21using list_t = std::vector<ossia::value>;
23using Value = ossia::value;
25SCORE_LIB_STATE_EXPORT std::optional<ossia::value> parseValue(std::string_view str);
26SCORE_LIB_STATE_EXPORT QDebug& operator<<(QDebug& s,
const Value& m);
28SCORE_SERIALIZE_DATASTREAM_DECLARE(SCORE_LIB_STATE_EXPORT, State::impulse);
29SCORE_SERIALIZE_DATASTREAM_DECLARE(SCORE_LIB_STATE_EXPORT, State::vec2f);
30SCORE_SERIALIZE_DATASTREAM_DECLARE(SCORE_LIB_STATE_EXPORT, State::vec3f);
31SCORE_SERIALIZE_DATASTREAM_DECLARE(SCORE_LIB_STATE_EXPORT, State::vec4f);
32SCORE_SERIALIZE_DATASTREAM_DECLARE(SCORE_LIB_STATE_EXPORT, State::list_t);
33SCORE_SERIALIZE_DATASTREAM_DECLARE(SCORE_LIB_STATE_EXPORT, State::Value);
Utilities for OSSIA data structures.
Definition DeviceInterface.hpp:33