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
Public Member Functions | Static Public Attributes | List of all members
juce::MarkerList::ValueTreeWrapper Class Reference

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

#include "juce_MarkerList.h"

Public Member Functions

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

Static Public Attributes

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

Detailed Description

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

Definition at line 162 of file juce_MarkerList.h.

Constructor & Destructor Documentation

◆ ValueTreeWrapper()

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

Definition at line 193 of file juce_MarkerList.cpp.

Member Function Documentation

◆ applyTo()

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

Definition at line 257 of file juce_MarkerList.cpp.

◆ containsMarker()

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

Definition at line 213 of file juce_MarkerList.cpp.

◆ getMarker()

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

Definition at line 218 of file juce_MarkerList.cpp.

◆ getMarkerState() [1/2]

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

Definition at line 208 of file juce_MarkerList.cpp.

◆ getMarkerState() [2/2]

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

Definition at line 203 of file juce_MarkerList.cpp.

◆ getNumMarkers()

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

Definition at line 198 of file juce_MarkerList.cpp.

◆ getState()

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

Definition at line 167 of file juce_MarkerList.h.

◆ readFrom()

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

Definition at line 276 of file juce_MarkerList.cpp.

◆ removeMarker()

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

Definition at line 242 of file juce_MarkerList.cpp.

◆ setMarker()

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

Definition at line 225 of file juce_MarkerList.cpp.

Member Data Documentation

◆ markerTag

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

Definition at line 179 of file juce_MarkerList.h.

◆ nameProperty

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

Definition at line 179 of file juce_MarkerList.h.

◆ posProperty

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

Definition at line 179 of file juce_MarkerList.h.


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