openshot-audio  0.1.2
Public Member Functions | List of all members
RelativeCoordinatePositionerBase::DependencyFinderScope Class Reference
Inheritance diagram for RelativeCoordinatePositionerBase::DependencyFinderScope:
RelativeCoordinatePositionerBase::ComponentScope Expression::Scope

Public Member Functions

 DependencyFinderScope (Component &comp, RelativeCoordinatePositionerBase &p, bool &result)
 
Expression getSymbolValue (const String &symbol) const override
 
void visitRelativeScope (const String &scopeName, Visitor &visitor) const override
 
- Public Member Functions inherited from RelativeCoordinatePositionerBase::ComponentScope
 ComponentScope (Component &component)
 
Expression getSymbolValue (const String &symbol) const
 
void visitRelativeScope (const String &scopeName, Visitor &visitor) const
 
String getScopeUID () const
 
- Public Member Functions inherited from Expression::Scope
 Scope ()
 
virtual ~Scope ()
 
virtual double evaluateFunction (const String &functionName, const double *parameters, int numParameters) const
 

Additional Inherited Members

- Protected Member Functions inherited from RelativeCoordinatePositionerBase::ComponentScope
ComponentfindSiblingComponent (const String &componentID) const
 
- Protected Attributes inherited from RelativeCoordinatePositionerBase::ComponentScope
Componentcomponent
 

Constructor & Destructor Documentation

RelativeCoordinatePositionerBase::DependencyFinderScope::DependencyFinderScope ( Component comp,
RelativeCoordinatePositionerBase p,
bool &  result 
)
inline

Member Function Documentation

Expression RelativeCoordinatePositionerBase::DependencyFinderScope::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 RelativeCoordinatePositionerBase::DependencyFinderScope::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: