Inheritance diagram for JSONWriter:
AbstractVisitor

Classes

struct  wrapper
 

Public Types

using type = JSONObject
 
using is_visitor_tag = std::integral_constant< bool, true >
 
using is_deserializer_tag = std::integral_constant< bool, true >
 

Public Member Functions

VisitorVariant toVariant ()
 
 JSONWriter (const JSONWriter &)=delete
 
JSONWriteroperator= (const JSONWriter &)=delete
 
 JSONWriter (const rapidjson::Value &obj)
 
 JSONWriter (const JsonValue &obj)
 
template<typename T >
void write (T &)
 
void write (QString &)=delete
 
void write (float &)=delete
 
void write (char &)=delete
 
void write (int &)=delete
 
void write (bool &)=delete
 
void write (std::string &)=delete
 
template<typename T >
void writeTo (T &obj)
 
template<>
void write (score::ModelMetadata &md)
 
template<>
void write (ObjectIdentifier &id)
 
template<>
void write (ObjectPath &path)
 
template<>
SCORE_LIB_BASE_EXPORT void write (InvisibleRootNode &)
 
template<>
void write (Device::AddressSettingsCommon &n)
 
template<>
void write (Device::AddressSettings &n)
 
template<>
void write (Device::FullAddressSettings &n)
 
template<>
void write (Device::FullAddressAccessorSettings &n)
 
template<>
SCORE_LIB_DEVICE_EXPORT void write (Device::DeviceExplorerNode &n)
 
template<>
void write (Device::DeviceSettings &n)
 
template<>
SCORE_LIB_PROCESS_EXPORT void write (Process::ControlMessage &mess)
 
template<>
void write (Process::CableData &p)
 
template<>
void write (Process::Cable &p)
 
template<>
SCORE_LIB_PROCESS_EXPORT void write (Process::MinMaxFloatOutlet &p)
 
template<>
void write (Process::Port &p)
 
template<>
void write (Process::Inlet &p)
 
template<>
void write (Process::AudioInlet &p)
 
template<>
void write (Process::MidiInlet &p)
 
template<>
void write (Process::ControlInlet &p)
 
template<>
void write (Process::Outlet &p)
 
template<>
void write (Process::AudioOutlet &p)
 
template<>
void write (Process::MidiOutlet &p)
 
template<>
void write (Process::ControlOutlet &p)
 
template<>
void write (Process::ValueInlet &p)
 
template<>
void write (Process::ValueOutlet &p)
 
template<>
SCORE_LIB_PROCESS_EXPORT void write (Process::FloatSlider &p)
 
template<>
SCORE_LIB_PROCESS_EXPORT void write (Process::FloatKnob &p)
 
template<>
SCORE_LIB_PROCESS_EXPORT void write (Process::LogFloatSlider &p)
 
template<>
SCORE_LIB_PROCESS_EXPORT void write (Process::IntSlider &p)
 
template<>
SCORE_LIB_PROCESS_EXPORT void write (Process::IntRangeSlider &p)
 
template<>
SCORE_LIB_PROCESS_EXPORT void write (Process::FloatRangeSlider &p)
 
template<>
SCORE_LIB_PROCESS_EXPORT void write (Process::IntRangeSpinBox &p)
 
template<>
SCORE_LIB_PROCESS_EXPORT void write (Process::FloatRangeSpinBox &p)
 
template<>
SCORE_LIB_PROCESS_EXPORT void write (Process::IntSpinBox &p)
 
template<>
SCORE_LIB_PROCESS_EXPORT void write (Process::FloatSpinBox &p)
 
template<>
SCORE_LIB_PROCESS_EXPORT void write (Process::TimeChooser &p)
 
template<>
SCORE_LIB_PROCESS_EXPORT void write (Process::Toggle &p)
 
template<>
SCORE_LIB_PROCESS_EXPORT void write (Process::ChooserToggle &p)
 
template<>
SCORE_LIB_PROCESS_EXPORT void write (Process::LineEdit &p)
 
template<>
SCORE_LIB_PROCESS_EXPORT void write (Process::ProgramEdit &p)
 
template<>
SCORE_LIB_PROCESS_EXPORT void write (Process::FileChooser &p)
 
template<>
SCORE_LIB_PROCESS_EXPORT void write (Process::AudioFileChooser &p)
 
template<>
SCORE_LIB_PROCESS_EXPORT void write (Process::VideoFileChooser &p)
 
template<>
SCORE_LIB_PROCESS_EXPORT void write (Process::Enum &p)
 
template<>
SCORE_LIB_PROCESS_EXPORT void write (Process::ComboBox &p)
 
template<>
SCORE_LIB_PROCESS_EXPORT void write (Process::Button &p)
 
template<>
SCORE_LIB_PROCESS_EXPORT void write (Process::ImpulseButton &p)
 
template<>
SCORE_LIB_PROCESS_EXPORT void write (Process::HSVSlider &p)
 
template<>
SCORE_LIB_PROCESS_EXPORT void write (Process::XYSlider &p)
 
template<>
SCORE_LIB_PROCESS_EXPORT void write (Process::XYZSlider &p)
 
template<>
SCORE_LIB_PROCESS_EXPORT void write (Process::XYSpinboxes &p)
 
template<>
SCORE_LIB_PROCESS_EXPORT void write (Process::XYZSpinboxes &p)
 
template<>
SCORE_LIB_PROCESS_EXPORT void write (Process::MultiSlider &p)
 
template<>
SCORE_LIB_PROCESS_EXPORT void write (Process::Bargraph &p)
 
template<>
SCORE_LIB_PROCESS_EXPORT void write (Process::Preset &p)
 
template<>
SCORE_LIB_PROCESS_EXPORT void write (Process::ProcessModel &process)
 
template<>
void write (Process::ProcessStateData &val)
 
template<>
void write (Process::StateNodeValues &val)
 
template<>
void write (Process::StateNodeData &node)
 
template<>
void write (State::Address &a)
 
template<>
void write (ossia::destination_qualifiers &a)
 
template<>
void write (State::DestinationQualifiers &a)
 
template<>
void write (State::AddressAccessor &rel)
 
template<>
void write (State::AddressAccessorHead &rel)
 
template<>
void write (State::Pulse &rel)
 
template<>
void write (State::Relation &rel)
 
template<>
SCORE_LIB_STATE_EXPORT void write (State::ExprData &expr)
 
template<>
void write (State::Message &mess)
 
template<>
SCORE_LIB_STATE_EXPORT void write (State::Domain &var)
 
template<>
SCORE_LIB_STATE_EXPORT void write (ossia::domain &n)
 
template<>
SCORE_LIB_STATE_EXPORT void write (ossia::net::instance_bounds &n)
 
template<>
void write (ossia::impulse &value)
 
template<>
SCORE_LIB_STATE_EXPORT void write (ossia::value &n)
 
template<>
void write (Automation::ProcessModel &autom)
 
template<>
void write (ControlSurface::Model &proc)
 
template<>
void write (Curve::Model &curve)
 
template<>
void write (Curve::SegmentData &segmt)
 
template<>
void write (Curve::SegmentModel &segmt)
 
template<>
void write (Curve::EasingData &segmt)
 
template<>
void write (Curve::LinearSegment &segmt)
 
template<>
void write (Curve::LinearSegmentData &segmt)
 
template<>
void write (Curve::PointArraySegment &segmt)
 
template<>
void write (Curve::PointArraySegmentData &segmt)
 
template<>
void write (Curve::PowerSegment &segmt)
 
template<>
void write (Curve::PowerSegmentData &segmt)
 
template<>
void write (Dataflow::CurveInlet &p)
 
template<>
void write (Explorer::DeviceDocumentPlugin &plug)
 
template<>
void write (Explorer::ProjectSettings::Model &model)
 
template<>
void write (Protocols::LocalSpecificSettings &n)
 
template<>
void write (Faust::FaustEffectModel &eff)
 
template<>
void write (Gfx::CameraSettings &n)
 
template<>
void write (Gfx::Filter::Model &proc)
 
template<>
void write (Gfx::GeometryFilter::Model &proc)
 
template<>
void write (score::gfx::Image &proc)
 
template<>
void write (Gfx::Images::Model &proc)
 
template<>
void write (Gfx::Images::ImageListChooser &p)
 
template<>
void write (Gfx::Kinect2::Kinect2Settings &n)
 
template<>
void write (Gfx::LibavOutputSettings &n)
 
template<>
void write (Gfx::SharedInputSettings &n)
 
template<>
void write (Gfx::SharedOutputSettings &n)
 
template<>
void write (Gfx::Text::Model &proc)
 
template<>
void write (Gfx::TextureInlet &p)
 
template<>
void write (Gfx::TextureOutlet &p)
 
template<>
void write (Gfx::GeometryInlet &p)
 
template<>
void write (Gfx::GeometryOutlet &p)
 
template<>
void write (Gfx::Video::Model &proc)
 
template<>
void write (Jit::BytebeatModel &eff)
 
template<>
void write (AvndJit::Model &eff)
 
template<>
void write (Jit::JitEffectModel &eff)
 
template<>
void write (Jit::TexgenModel &eff)
 
template<>
void write (JS::ProcessModel &proc)
 
template<>
void write (LV2::Model &eff)
 
template<>
void write (Mapping::ProcessModel &autom)
 
template<>
void write (Media::Merger::Model &proc)
 
template<>
void write (Media::Metro::Model &proc)
 
template<>
void write (Media::Sound::ProcessModel &proc)
 
template<>
void write (Media::Step::Model &proc)
 
template<>
void write (Midi::NoteData &n)
 
template<>
void write (Midi::Note &n)
 
template<>
void write (Midi::ProcessModel &proc)
 
template<>
void write (Patternist::Lane &proc)
 
template<>
void write (Patternist::Pattern &proc)
 
template<>
void write (Patternist::ProcessModel &proc)
 
template<>
void write (Nodal::Model &proc)
 
template<>
void write (Pd::ProcessModel &proc)
 
template<>
void write (Protocols::Artnet::SingleCapability &n)
 
template<>
void write (Protocols::Artnet::RangeCapability &n)
 
template<>
void write (Protocols::Artnet::Channel &n)
 
template<>
void write (Protocols::Artnet::ModeInfo &n)
 
template<>
void write (Protocols::Artnet::Fixture &n)
 
template<>
void write (Protocols::ArtnetSpecificSettings &n)
 
template<>
void write (ossia::net::coap_client_configuration &n)
 
template<>
void write (Protocols::CoAPSpecificSettings &n)
 
template<>
void write (Protocols::HTTPSpecificSettings &n)
 
template<>
void write (Protocols::JoystickSpecificSettings &n)
 
template<>
void write (Protocols::LibmapperClientSpecificSettings &n)
 
template<>
void write (Protocols::MIDISpecificSettings &n)
 
template<>
void write (Protocols::MinuitSpecificSettings &n)
 
template<>
void write (ossia::net::mqtt5_configuration &n)
 
template<>
void write (Protocols::MQTTSpecificSettings &n)
 
template<>
void write (ossia::net::outbound_socket_configuration &n)
 
template<>
void write (ossia::net::inbound_socket_configuration &n)
 
template<>
void write (ossia::net::fd_configuration &n)
 
template<>
void write (ossia::net::ws_client_configuration &n)
 
template<>
void write (ossia::net::ws_server_configuration &n)
 
template<>
void write (ossia::net::serial_configuration &n)
 
template<>
void write (ossia::net::receive_fd_configuration &n)
 
template<>
void write (ossia::net::send_fd_configuration &n)
 
template<>
void write (ossia::net::unix_stream_configuration &n)
 
template<>
void write (ossia::net::tcp_client_configuration &n)
 
template<>
void write (ossia::net::tcp_server_configuration &n)
 
template<>
void write (ossia::net::udp_configuration &n)
 
template<>
void write (ossia::net::unix_dgram_configuration &n)
 
template<>
void write (ossia::net::osc_protocol_configuration &n)
 
template<>
void write (Protocols::OSCSpecificSettings &n)
 
template<>
void write (Protocols::OSCQuerySpecificSettings &n)
 
template<>
void write (Protocols::SerialSpecificSettings &n)
 
template<>
void write (Protocols::WiimoteSpecificSettings &n)
 
template<>
void write (Protocols::WSSpecificSettings &n)
 
template<>
void write (Interpolation::ProcessModel &interp)
 
template<>
void write (InterpState::ProcessModel &interp)
 
template<>
void write (Scenario::BaseScenarioContainer &base_scenario)
 
template<>
void write (Scenario::BaseScenario &base_scenario)
 
template<>
void write (Scenario::CommentBlockModel &comment)
 
template<>
SCORE_PLUGIN_SCENARIO_EXPORT void write (Scenario::EventModel &ev)
 
template<>
void write (Scenario::IntervalDurations &durs)
 
template<>
SCORE_PLUGIN_SCENARIO_EXPORT void write (ossia::time_signature &slot)
 
template<>
SCORE_PLUGIN_SCENARIO_EXPORT void write (Scenario::Slot &slot)
 
template<>
SCORE_PLUGIN_SCENARIO_EXPORT void write (Scenario::FullSlot &slot)
 
template<>
SCORE_PLUGIN_SCENARIO_EXPORT void write (Scenario::IntervalModel &interval)
 
template<>
void write (Scenario::ScenarioDocumentModel &model)
 
template<>
SCORE_PLUGIN_SCENARIO_EXPORT void write (Scenario::StateModel &s)
 
template<>
void write (Scenario::TempoProcess &autom)
 
template<>
void write (Scenario::TimeSyncModel &timesync)
 
template<>
void write (Scenario::ProcessModel &scenario)
 
template<>
void write (ossia::spline_point &autom)
 
template<>
void write (Spline::ProcessModel &autom)
 
template<>
void write (ossia::spline3d_point &autom)
 
template<>
void write (Spline3D::ProcessModel &autom)
 
template<>
void write (vst::Model &eff)
 
template<>
void write (vst::ControlInlet &p)
 
template<>
void write (vst3::Model &eff)
 
template<>
void write (vst3::ControlInlet &p)
 
template<>
void write (YSFX::ProcessModel &proc)
 

Static Public Member Functions

template<typename T >
static auto unmarshall (const rapidjson::Value &obj)
 

Public Attributes

const rapidjson::Value & base
 
struct JSONWriter::wrapper base
 
const score::ApplicationComponentscomponents
 
const score::StringConstantsstrings
 

The documentation for this class was generated from the following files:
  • JSONVisitor.hpp
  • ModelMetadata.cpp
  • ObjectIdentifierSerialization.cpp
  • ObjectPathSerialization.cpp
  • InvisibleRootNodeSerialization.cpp
  • JSONObjectVisitor.cpp
  • AddressSettingsSerialization.cpp
  • DeviceNodeSerialization.cpp
  • DeviceSettingsSerialization.cpp
  • ControlMessage.cpp
  • Cable.cpp
  • MinMaxFloatPort.cpp
  • Port.cpp
  • WidgetInlets.cpp
  • Preset.cpp
  • score-lib-process/Process/ProcessModelSerialization.cpp
  • MessageNodeSerialization.cpp
  • AddressSerialization.cpp
  • ExpressionSerialization.cpp
  • MessageSerialization.cpp
  • OSSIASerialization.cpp
  • ValueSerializationImpl.hpp
  • AutomationSerialization.cpp
  • GradientModel.cpp
  • score-plugin-controlsurface/ControlSurface/Process.cpp
  • CurveModelSerialization.cpp
  • CurveSegmentModelSerialization.cpp
  • EasingSegment.hpp
  • LinearSegment.cpp
  • PointArraySegment.cpp
  • PowerSegment.cpp
  • CurveInlet.cpp
  • DeviceDocumentPluginSerialization.cpp
  • ExplorerModel.cpp
  • LocalSpecificSettingsSerialization.cpp
  • score-plugin-faust/Faust/EffectModel.cpp
  • CameraDevice.cpp
  • Kinect2Device.cpp
  • LibavOutputDevice.cpp
  • SharedInputSettings.cpp
  • SharedOutputSettings.cpp
  • TexturePort.cpp
  • Bytebeat.cpp
  • AvndJit.cpp
  • JitModel.cpp
  • Texgen.cpp
  • JSProcessModelSerialization.cpp
  • MappingSerialization.cpp
  • score-plugin-media/Media/Merger/Model.cpp
  • MetroModel.cpp
  • SoundModel.cpp
  • MidiProcess.cpp
  • PatternModel.cpp
  • PdProcess.cpp
  • ArtnetSpecificSettingsSerialization.cpp
  • CoAPSpecificSettingsSerialization.cpp
  • HTTPSpecificSettingsSerialization.cpp
  • JoystickSpecificSettingsSerialization.cpp
  • LibmapperClientDevice.cpp
  • MIDISpecificSettingsSerialization.cpp
  • MinuitSpecificSettingsSerialization.cpp
  • MQTTSpecificSettingsSerialization.cpp
  • OSCSpecificSettingsSerialization.cpp
  • OSCQuerySpecificSettingsSerialization.cpp
  • SerialSpecificSettingsSerialization.cpp
  • WiimoteSpecificSettingsSerialization.cpp
  • WSSpecificSettingsSerialization.cpp
  • InterpolationProcess.cpp
  • InterpStateProcess.cpp
  • BaseScenarioContainerSerialization.cpp
  • BaseScenarioSerialization.cpp
  • CommentBlockModelSerialization.cpp
  • EventModelSerialization.cpp
  • IntervalDurations.cpp
  • IntervalModelSerialization.cpp
  • ScenarioDocumentModelSerialization.cpp
  • StateModelSerialization.cpp
  • TempoProcess.cpp
  • TimeSyncModelSerialization.cpp
  • ScenarioModelSerialization.cpp