Inheritance diagram for JSONReader:
AbstractVisitor

Classes

struct  assigner
 
struct  fake_obj
 

Public Types

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

Public Member Functions

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

Static Public Member Functions

template<typename T >
static auto marshall (const T &t)
 

Public Attributes

rapidjson::StringBuffer buffer
 
JsonWriter stream {buffer}
 
struct JSONReader::fake_obj obj
 
const score::ApplicationComponentscomponents
 
const score::StringConstantsstrings
 

Member Function Documentation

◆ read()

template<typename T >
void JSONReader::read ( const T &  )

Serializable types should reimplement this method It is not to be called by user code.

◆ readFrom() [1/2]

template<typename T >
void JSONReader::readFrom ( const score::Entity< T > &  obj)

Called by code that wants to serialize. The two next methodsDefined in EntitySerialization.hpp

◆ readFrom() [2/2]

template<typename T >
void JSONReader::readFrom ( const T &  obj)
inline

Used to serialize general objects that won't fit in the other categories


The documentation for this class was generated from the following files:
  • JSONVisitor.hpp
  • EntitySerialization.hpp
  • ModelMetadata.cpp
  • ObjectIdentifierSerialization.cpp
  • ObjectPathSerialization.cpp
  • InvisibleRootNodeSerialization.cpp
  • lib/score/plugins/documentdelegate/plugin/DocumentPlugin.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
  • HTTPSpecificSettingsSerialization.cpp
  • JoystickSpecificSettingsSerialization.cpp
  • LeapmotionSpecificSettingsSerialization.cpp
  • LibmapperClientDevice.cpp
  • MIDISpecificSettingsSerialization.cpp
  • MinuitSpecificSettingsSerialization.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