JUCE-7.0.12-0-g4f43011b96
JUCE-7.0.12-0-g4f43011b96
JUCE — C++ application framework with suport for VST, VST3, LV2 audio plug-ins
« « « Anklang Documentation
Loading...
Searching...
No Matches
juce_audio_processors
format_types
VST3_SDK
public.sdk
source
vst
moduleinfo
moduleinfoparser.h
Go to the documentation of this file.
1
//-----------------------------------------------------------------------------
2
// Project : VST SDK
3
// Flags : clang-format SMTGSequencer
4
//
5
// Category : moduleinfo
6
// Filename : public.sdk/source/vst/moduleinfo/moduleinfoparser.h
7
// Created by : Steinberg, 01/2022
8
// Description : utility functions to parse moduleinfo json files
9
//
10
//-----------------------------------------------------------------------------
11
// LICENSE
12
// (c) 2023, Steinberg Media Technologies GmbH, All Rights Reserved
13
//-----------------------------------------------------------------------------
14
// Redistribution and use in source and binary forms, with or without modification,
15
// are permitted provided that the following conditions are met:
16
//
17
// * Redistributions of source code must retain the above copyright notice,
18
// this list of conditions and the following disclaimer.
19
// * Redistributions in binary form must reproduce the above copyright notice,
20
// this list of conditions and the following disclaimer in the documentation
21
// and/or other materials provided with the distribution.
22
// * Neither the name of the Steinberg Media Technologies nor the names of its
23
// contributors may be used to endorse or promote products derived from this
24
// software without specific prior written permission.
25
//
26
// THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
27
// ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
28
// WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
29
// IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT,
30
// INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
31
// BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
32
// DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
33
// LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE
34
// OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED
35
// OF THE POSSIBILITY OF SUCH DAMAGE.
36
//-----------------------------------------------------------------------------
37
38
#pragma once
39
40
#include "
moduleinfo.h
"
41
#include <
iostream
>
42
#include <
optional
>
43
#include <
string_view
>
44
45
//------------------------------------------------------------------------
46
namespace
Steinberg::ModuleInfoLib {
47
48
//------------------------------------------------------------------------
55
std::optional<ModuleInfo>
parseJson
(
std::string_view
jsonData,
std::ostream
* optErrorOutput);
56
57
//------------------------------------------------------------------------
64
std::optional<ModuleInfo::CompatibilityList>
parseCompatibilityJson
(
std::string_view
jsonData,
65
std::ostream
* optErrorOutput);
66
67
//------------------------------------------------------------------------
68
}
// Steinberg::ModuelInfoLib
std::ostream
std::string_view
iostream
moduleinfo.h
Steinberg::ModuleInfoLib::parseCompatibilityJson
std::optional< ModuleInfo::CompatibilityList > parseCompatibilityJson(std::string_view jsonData, std::ostream *optErrorOutput)
parse a json formatted string to a ModuleInfo::CompatibilityList
Definition
moduleinfoparser.cpp:509
Steinberg::ModuleInfoLib::parseJson
std::optional< ModuleInfo > parseJson(std::string_view jsonData, std::ostream *optErrorOutput)
parse a json formatted string to a ModuleInfo struct
Definition
moduleinfoparser.cpp:482
optional
string_view
« « « Anklang Documentation