85 referTo (
tree, propertyID, um, defaultToUse, arrayDelimiter);
159 if (
auto* array = newValue.
getArray())
245 :
value (initialValue)
278 for (
auto&
v : input)
279 elements.
add (
v.toString());
303 const Value& defaultVal,
328using ValueWithDefault [[deprecated (
"This class has been renamed to better describe what is does. "
329 "This declaration is here for backwards compatibility and new "
330 "code should use the new class name.")]]
#define noexcept
Definition DistrhoDefines.h:72
Definition juce_Array.h:56
void add(const ElementType &newElement)
Definition juce_Array.h:418
Definition juce_Identifier.h:39
Definition juce_StringArray.h:35
String joinIntoString(StringRef separatorString, int startIndex=0, int numberOfElements=-1) const
Definition juce_StringArray.cpp:289
static StringArray fromTokens(StringRef stringToTokenise, bool preserveQuotedStrings)
Definition juce_StringArray.cpp:387
void add(String stringToAdd)
Definition juce_StringArray.cpp:136
Definition juce_String.h:53
Definition juce_StringRef.h:62
bool isNotEmpty() const noexcept
Definition juce_StringRef.h:103
Definition juce_UndoManager.h:52
Definition juce_Value.h:139
Definition juce_Value.h:180
void sendChangeMessage(bool dispatchSynchronously)
Definition juce_Value.cpp:43
Definition juce_Value.h:51
Definition juce_ValueTree.h:72
Definition juce_ValueTreePropertyWithDefault.h:242
void setValue(const var &newValue) override
Definition juce_ValueTreePropertyWithDefault.h:254
SynchronousValueSource(const var &initialValue)
Definition juce_ValueTreePropertyWithDefault.h:244
var getValue() const override
Definition juce_ValueTreePropertyWithDefault.h:249
var value
Definition juce_ValueTreePropertyWithDefault.h:264
Definition juce_ValueTreePropertyWithDefault.h:39
ValueTree & getValueTree() noexcept
Definition juce_ValueTreePropertyWithDefault.h:219
static Array< var > delimitedStringToVarArray(StringRef input, StringRef delim)
Definition juce_ValueTreePropertyWithDefault.h:284
ValueTreePropertyWithDefault(ValueTree &tree, const Identifier &propertyID, UndoManager *um, var defaultToUse, StringRef arrayDelimiter)
Definition juce_ValueTreePropertyWithDefault.h:79
Value getPropertyAsValue()
Definition juce_ValueTreePropertyWithDefault.h:121
void valueChanged(Value &) override
Definition juce_ValueTreePropertyWithDefault.h:294
~ValueTreePropertyWithDefault() override
Definition juce_ValueTreePropertyWithDefault.h:99
ValueTree targetTree
Definition juce_ValueTreePropertyWithDefault.h:316
static String varArrayToDelimitedString(const Array< var > &input, StringRef delim)
Definition juce_ValueTreePropertyWithDefault.h:270
bool isUsingDefault() const
Definition juce_ValueTreePropertyWithDefault.h:130
void referTo(ValueTree tree, const Identifier &property, UndoManager *um, var defaultVal, StringRef arrayDelimiter)
Definition juce_ValueTreePropertyWithDefault.h:204
var getDefault() const
Definition juce_ValueTreePropertyWithDefault.h:124
Identifier targetProperty
Definition juce_ValueTreePropertyWithDefault.h:317
UndoManager * undoManager
Definition juce_ValueTreePropertyWithDefault.h:318
void referToWithDefault(ValueTree v, const Identifier &i, UndoManager *um, const Value &defaultVal, StringRef del)
Definition juce_ValueTreePropertyWithDefault.h:300
String delimiter
Definition juce_ValueTreePropertyWithDefault.h:320
void setValue(const var &newValue, UndoManager *undoManagerToUse)
Definition juce_ValueTreePropertyWithDefault.h:157
Value defaultValue
Definition juce_ValueTreePropertyWithDefault.h:319
std::function< void()> onDefaultChange
Definition juce_ValueTreePropertyWithDefault.h:140
void referTo(ValueTree tree, const Identifier &property, UndoManager *um, var defaultVal)
Definition juce_ValueTreePropertyWithDefault.h:187
UndoManager * getUndoManager() noexcept
Definition juce_ValueTreePropertyWithDefault.h:225
ValueTreePropertyWithDefault(const ValueTreePropertyWithDefault &other)
Definition juce_ValueTreePropertyWithDefault.h:89
ValueTreePropertyWithDefault()=default
ValueTreePropertyWithDefault(ValueTree &tree, const Identifier &propertyID, UndoManager *um, var defaultToUse)
Definition juce_ValueTreePropertyWithDefault.h:63
void setDefault(const var &newDefault)
Definition juce_ValueTreePropertyWithDefault.h:127
Identifier & getPropertyID() noexcept
Definition juce_ValueTreePropertyWithDefault.h:222
ValueTreePropertyWithDefault(ValueTree &tree, const Identifier &propertyID, UndoManager *um)
Definition juce_ValueTreePropertyWithDefault.h:52
void resetToDefault() noexcept
Definition juce_ValueTreePropertyWithDefault.h:133
void referTo(ValueTree tree, const Identifier &property, UndoManager *um)
Definition juce_ValueTreePropertyWithDefault.h:171
var get() const noexcept
Definition juce_ValueTreePropertyWithDefault.h:109
Definition juce_Variant.h:42
Array< var > * getArray() const noexcept
Definition juce_Variant.cpp:573
bool equalsWithSameType(const var &other) const noexcept
Definition juce_Variant.cpp:639
struct huft * t
Definition inflate.c:943
unsigned v[N_MAX]
Definition inflate.c:1584
register unsigned i
Definition inflate.c:1575
#define JUCE_LEAK_DETECTOR(OwnerClass)
Definition juce_LeakedObjectDetector.h:138
#define JUCE_API
Definition juce_StandardHeader.h:152
Definition carla_juce.cpp:31
juce::String toString(const Steinberg::char8 *string) noexcept
Definition juce_VST3Common.h:159
@ tree
Definition juce_AccessibilityRole.h:58
#define void
Definition unzip.h:396
#define const
Definition zconf.h:137