Gin
|
Mirrors a ValueTree in Objects. More...
#include <gin_valuetreeobject.h>
Inherits juce::ValueTree::Listener.
Public Member Functions | |
ValueTreeObject (const juce::ValueTree &state) | |
juce::ValueTree & | getState () |
const juce::OwnedArray< ValueTreeObject > & | getChildren () const |
template<class TargetClass > | |
TargetClass * | findParentOfType () const |
template<class TargetClass > | |
juce::Array< TargetClass * > | findChildrenOfClass () const |
template<class TargetClass > | |
int | countChildrenOfClass () const |
template<class TargetClass > | |
TargetClass * | findChildOfClass (int idx) const |
Static Public Attributes | |
static std::function< ValueTreeObject *(const juce::Identifier &, const juce::ValueTree &)> | factory |
Mirrors a ValueTree in Objects.
ValueTreeObject::ValueTreeObject | ( | const juce::ValueTree & | state | ) |
juce::ValueTree & ValueTreeObject::getState | ( | ) |
const juce::OwnedArray< ValueTreeObject > & ValueTreeObject::getChildren | ( | ) | const |
TargetClass * ValueTreeObject::findParentOfType | ( | ) | const |
juce::Array< TargetClass * > ValueTreeObject::findChildrenOfClass | ( | ) | const |
int ValueTreeObject::countChildrenOfClass | ( | ) | const |
TargetClass * ValueTreeObject::findChildOfClass | ( | int | idx | ) | const |
|
static |