2 #include <Process/TimeValue.hpp>
4 #include <score/serialization/VisitorInterface.hpp>
6 #include <ossia/editor/scenario/time_signature.hpp>
8 #include <score_plugin_scenario_export.h>
16 struct TimeSignatureMap;
21 struct
TSerializer<JSONObject, Scenario::TimeSignatureMap>;
31 using iterator = std::vector<std::pair<TimeVal, ossia::time_signature>>::iterator;
33 = std::vector<std::pair<TimeVal, ossia::time_signature>>::const_iterator;
42 bool empty()
const noexcept;
43 std::size_t size()
const noexcept;
44 ossia::time_signature& at(
const TimeVal&);
45 ossia::time_signature& operator[](
const TimeVal&);
46 const_iterator find(
const TimeVal&)
const;
47 const_iterator last_before(
const TimeVal&)
const;
48 const_iterator upper_bound(
const TimeVal&)
const;
49 void erase(const_iterator);
52 const_iterator begin()
const;
53 const_iterator end()
const;
64 struct is_custom_serialized<
Scenario::TimeSignatureMap> : std::true_type
Definition: VisitorInterface.hpp:53
Definition: DataStreamVisitor.hpp:27
Definition: DataStreamVisitor.hpp:202
Definition: VisitorInterface.hpp:61
Definition: JSONVisitor.hpp:52
Definition: JSONVisitor.hpp:423
Main plug-in of score.
Definition: score-plugin-dataflow/Dataflow/PortItem.hpp:14
Definition: TimeSignatureMap.cpp:22
Definition: TimeSignatureMap.hpp:26
Definition: VisitorInterface.hpp:13
Definition: TimeValue.hpp:21