LibreOffice Module slideshow (master) 1
Static Public Member Functions | List of all members
slideshow::internal::ExpressionNodeFactory Class Reference

ExpressionNode factory. More...

#include <expressionnodefactory.hxx>

Static Public Member Functions

static std::shared_ptr< ExpressionNodecreateConstantValueExpression (double rConstantValue)
 
static std::shared_ptr< ExpressionNodecreateValueTExpression ()
 
static std::shared_ptr< ExpressionNodecreatePlusExpression (const std::shared_ptr< ExpressionNode > &rLHS, const std::shared_ptr< ExpressionNode > &rRHS)
 
static std::shared_ptr< ExpressionNodecreateMinusExpression (const std::shared_ptr< ExpressionNode > &rLHS, const std::shared_ptr< ExpressionNode > &rRHS)
 
static std::shared_ptr< ExpressionNodecreateMultipliesExpression (const std::shared_ptr< ExpressionNode > &rLHS, const std::shared_ptr< ExpressionNode > &rRHS)
 
static std::shared_ptr< ExpressionNodecreateDividesExpression (const std::shared_ptr< ExpressionNode > &rLHS, const std::shared_ptr< ExpressionNode > &rRHS)
 
static std::shared_ptr< ExpressionNodecreateMinExpression (const std::shared_ptr< ExpressionNode > &rOuterFunction, const std::shared_ptr< ExpressionNode > &rInnerFunction)
 Composes two ExpressionNode function. More...
 
static std::shared_ptr< ExpressionNodecreateMaxExpression (const std::shared_ptr< ExpressionNode > &rOuterFunction, const std::shared_ptr< ExpressionNode > &rInnerFunction)
 

Detailed Description

ExpressionNode factory.

This class can be used to generate a wide variety of ExpressionNode objects, e.g. when parsing SMIL function expressions.

Definition at line 38 of file expressionnodefactory.hxx.

Member Function Documentation

◆ createConstantValueExpression()

std::shared_ptr< ExpressionNode > slideshow::internal::ExpressionNodeFactory::createConstantValueExpression ( double  rConstantValue)
static

Definition at line 192 of file expressionnodefactory.cxx.

◆ createDividesExpression()

std::shared_ptr< ExpressionNode > slideshow::internal::ExpressionNodeFactory::createDividesExpression ( const std::shared_ptr< ExpressionNode > &  rLHS,
const std::shared_ptr< ExpressionNode > &  rRHS 
)
static

Definition at line 220 of file expressionnodefactory.cxx.

◆ createMaxExpression()

std::shared_ptr< ExpressionNode > slideshow::internal::ExpressionNodeFactory::createMaxExpression ( const std::shared_ptr< ExpressionNode > &  rOuterFunction,
const std::shared_ptr< ExpressionNode > &  rInnerFunction 
)
static

Definition at line 232 of file expressionnodefactory.cxx.

◆ createMinExpression()

std::shared_ptr< ExpressionNode > slideshow::internal::ExpressionNodeFactory::createMinExpression ( const std::shared_ptr< ExpressionNode > &  rOuterFunction,
const std::shared_ptr< ExpressionNode > &  rInnerFunction 
)
static

Composes two ExpressionNode function.

The resulting expression will calculate rOuterFunction( rInnerFunction(t) ).

Definition at line 226 of file expressionnodefactory.cxx.

◆ createMinusExpression()

std::shared_ptr< ExpressionNode > slideshow::internal::ExpressionNodeFactory::createMinusExpression ( const std::shared_ptr< ExpressionNode > &  rLHS,
const std::shared_ptr< ExpressionNode > &  rRHS 
)
static

Definition at line 208 of file expressionnodefactory.cxx.

◆ createMultipliesExpression()

std::shared_ptr< ExpressionNode > slideshow::internal::ExpressionNodeFactory::createMultipliesExpression ( const std::shared_ptr< ExpressionNode > &  rLHS,
const std::shared_ptr< ExpressionNode > &  rRHS 
)
static

Definition at line 214 of file expressionnodefactory.cxx.

◆ createPlusExpression()

std::shared_ptr< ExpressionNode > slideshow::internal::ExpressionNodeFactory::createPlusExpression ( const std::shared_ptr< ExpressionNode > &  rLHS,
const std::shared_ptr< ExpressionNode > &  rRHS 
)
static

Definition at line 202 of file expressionnodefactory.cxx.

◆ createValueTExpression()

std::shared_ptr< ExpressionNode > slideshow::internal::ExpressionNodeFactory::createValueTExpression ( )
static

Definition at line 197 of file expressionnodefactory.cxx.


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