JUCE  v6.1.6 (6.0.8-1114)
JUCE API
Looking for a senior C++ dev?
I'm looking for work. Hire me!
juce::MarkerList::ValueTreeWrapper Class Reference

Forms a wrapper around a ValueTree that can be used for storing a MarkerList. More...

#include <juce_MarkerList.h>

Collaboration diagram for juce::MarkerList::ValueTreeWrapper:

Public Member Functions

 ValueTreeWrapper (const ValueTree &state)
 
void applyTo (MarkerList &markerList)
 
bool containsMarker (const ValueTree &state) const
 
MarkerList::Marker getMarker (const ValueTree &state) const
 
ValueTree getMarkerState (const String &name) const
 
ValueTree getMarkerState (int index) const
 
int getNumMarkers () const
 
ValueTreegetState () noexcept
 
void readFrom (const MarkerList &markerList, UndoManager *undoManager)
 
void removeMarker (const ValueTree &state, UndoManager *undoManager)
 
void setMarker (const MarkerList::Marker &marker, UndoManager *undoManager)
 

Static Public Attributes

static const Identifier markerTag
 
static const Identifier nameProperty
 
static const Identifier posProperty
 

Private Attributes

ValueTree state
 

Detailed Description

Forms a wrapper around a ValueTree that can be used for storing a MarkerList.

Constructor & Destructor Documentation

◆ ValueTreeWrapper()

juce::MarkerList::ValueTreeWrapper::ValueTreeWrapper ( const ValueTree state)

Member Function Documentation

◆ applyTo()

void juce::MarkerList::ValueTreeWrapper::applyTo ( MarkerList markerList)

◆ containsMarker()

bool juce::MarkerList::ValueTreeWrapper::containsMarker ( const ValueTree state) const

◆ getMarker()

MarkerList::Marker juce::MarkerList::ValueTreeWrapper::getMarker ( const ValueTree state) const

◆ getMarkerState() [1/2]

ValueTree juce::MarkerList::ValueTreeWrapper::getMarkerState ( const String name) const

◆ getMarkerState() [2/2]

ValueTree juce::MarkerList::ValueTreeWrapper::getMarkerState ( int  index) const

◆ getNumMarkers()

int juce::MarkerList::ValueTreeWrapper::getNumMarkers ( ) const

◆ getState()

ValueTree& juce::MarkerList::ValueTreeWrapper::getState ( )
inlinenoexcept

◆ readFrom()

void juce::MarkerList::ValueTreeWrapper::readFrom ( const MarkerList markerList,
UndoManager undoManager 
)

◆ removeMarker()

void juce::MarkerList::ValueTreeWrapper::removeMarker ( const ValueTree state,
UndoManager undoManager 
)

◆ setMarker()

void juce::MarkerList::ValueTreeWrapper::setMarker ( const MarkerList::Marker marker,
UndoManager undoManager 
)

Member Data Documentation

◆ markerTag

const Identifier juce::MarkerList::ValueTreeWrapper::markerTag
static

◆ nameProperty

const Identifier juce::MarkerList::ValueTreeWrapper::nameProperty
static

◆ posProperty

const Identifier juce::MarkerList::ValueTreeWrapper::posProperty
static

◆ state

ValueTree juce::MarkerList::ValueTreeWrapper::state
private

The documentation for this class was generated from the following file: