59 const var& thisObject;
216 void insert (
int index,
const var& value);
223 void remove (
int index);
265 NativeFunction getNativeFunction()
const;
312 char stringValue [
sizeof (
String)];
315 NativeFunction* methodValue;
318 friend bool canCompare (
const var&,
const var&);
320 const VariantType* type;
324 var (
const VariantType&)
noexcept;
332JUCE_API bool operator== (
const var&,
const var&);
334JUCE_API bool operator!= (
const var&,
const var&);
336JUCE_API bool operator< (
const var&,
const var&);
338JUCE_API bool operator<= (
const var&,
const var&);
340JUCE_API bool operator> (
const var&,
const var&);
342JUCE_API bool operator>= (
const var&,
const var&);
344JUCE_API bool operator== (
const var&,
const String&);
345JUCE_API bool operator!= (
const var&,
const String&);
346JUCE_API bool operator== (
const var&,
const char*);
347JUCE_API bool operator!= (
const var&,
const char*);
354template <
typename Type>
357 static Type fromVar (
const var&
v) {
return static_cast<Type
> (
v); }
358 static var toVar (
const Type&
t) {
return t; }
365 static String fromVar (
const var&
v) {
return v.toString(); }
366 static var toVar (
const String& s) {
return s; }
Holds a resizable array of primitive or copy-by-value objects.
Represents a dynamically implemented object.
Represents a string identifier, designed for accessing properties by name.
A class to hold a resizable block of raw data.
The base class for streams that write data to some kind of destination.
A base class which provides methods for reference-counting.
A special array for holding a list of strings.
A variant class, that can be used to hold a range of primitive values.
#define JUCE_API
This macro is added to all JUCE public class declarations.
This template-overloaded class can be used to convert between var and custom types.
This structure is passed to a NativeFunction callback, and contains invocation details about the func...