2#include <score/serialization/DataStreamFwd.hpp>
3#include <score/serialization/VisitorInterface.hpp>
5#include <QLatin1String>
7#include <score_lib_state_export.h>
17struct SCORE_LIB_STATE_EXPORT
Unit
24 Unit& operator=(
const Unit& other)
noexcept;
25 Unit& operator=(
Unit&& other)
noexcept;
28 Unit(
const ossia::unit_t&)
noexcept;
29 Unit& operator=(
const ossia::unit_t&)
noexcept;
31 operator const ossia::unit_t&()
const noexcept;
32 operator ossia::unit_t&()
noexcept;
34 bool operator==(
const State::Unit& other)
const noexcept;
35 bool operator!=(
const State::Unit& other)
const noexcept;
37 const ossia::unit_t& get()
const noexcept;
38 ossia::unit_t& get()
noexcept;
41 std::unique_ptr<ossia::unit_t> unit;
45QLatin1String prettyUnitText(
const ossia::unit_t&);
63struct is_custom_serialized<ossia::unit_t> :
public std::true_type
67SCORE_SERIALIZE_DATASTREAM_DECLARE(SCORE_LIB_STATE_EXPORT,
State::Unit)
Definition VisitorInterface.hpp:53
Definition DataStreamVisitor.hpp:27
Definition DataStreamVisitor.hpp:202
Utilities for OSSIA data structures.
Definition DeviceInterface.hpp:33
Definition VisitorInterface.hpp:13