openshot-audio  0.1.7
Public Member Functions | Static Public Member Functions | List of all members
MarkerListScope Class Reference
Inheritance diagram for MarkerListScope:
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 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)
 

Constructor & Destructor Documentation

MarkerListScope::MarkerListScope ( Component comp)
inline

Member Function Documentation

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

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

Reimplemented from Expression::Scope.

Expression 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 Expression::Scope.

void 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 Expression::Scope.


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