LMMS
Loading...
Searching...
No Matches
juce::MarkerListScope Struct Reference
Inheritance diagram for juce::MarkerListScope:
juce::Expression::Scope

Public Member Functions

 MarkerListScope (Component &comp)
Expression getSymbolValue (const String &symbol) const override
void visitRelativeScope (const String &scopeName, Visitor &visitor) const override
String getScopeUID () const override
Public Member Functions inherited from juce::Expression::Scope
 Scope ()
virtual ~Scope ()
virtual double evaluateFunction (const String &functionName, const double *parameters, int numParameters) const

Static Public Member Functions

static const MarkerList::MarkerfindMarker (Component &component, const String &name, MarkerList *&list)

Public Attributes

Componentcomponent

Constructor & Destructor Documentation

◆ MarkerListScope()

juce::MarkerListScope::MarkerListScope ( Component & comp)
inline

Member Function Documentation

◆ findMarker()

const MarkerList::Marker * juce::MarkerListScope::findMarker ( Component & component,
const String & name,
MarkerList *& list )
inlinestatic

◆ getScopeUID()

String juce::MarkerListScope::getScopeUID ( ) const
inlineoverridevirtual

Returns some kind of globally unique ID that identifies this scope.

Reimplemented from juce::Expression::Scope.

◆ getSymbolValue()

Expression juce::MarkerListScope::getSymbolValue ( const String & symbol) const
inlineoverridevirtual

Returns the value of a symbol. If the symbol is unknown, this can throw an Expression::EvaluationError exception. The member value is set to the part of the symbol that followed the dot, if there is one, e.g. for "foo.bar", symbol = "foo" and member = "bar".

Exceptions
Expression::EvaluationError

Reimplemented from juce::Expression::Scope.

◆ visitRelativeScope()

void juce::MarkerListScope::visitRelativeScope ( const String & scopeName,
Visitor & visitor ) const
inlineoverridevirtual

Creates a Scope object for a named scope, and then calls a visitor to do some kind of processing with this new scope.

If the name is valid, this method must create a suitable (temporary) Scope object to represent it, and must call the Visitor::visit() method with this new scope.

Reimplemented from juce::Expression::Scope.

Member Data Documentation

◆ component

Component& juce::MarkerListScope::component

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