LibreOffice Module sc (master)  1
Public Member Functions | Static Public Member Functions | Protected Member Functions | Protected Attributes | Static Private Attributes | List of all members
sc::FormulaGroupInterpreter Class Referenceabstract

Abstract base class for vectorised formula group interpreters, plus a global instance factory. More...

#include <formulagroup.hxx>

Inheritance diagram for sc::FormulaGroupInterpreter:
[legend]
Collaboration diagram for sc::FormulaGroupInterpreter:
[legend]

Public Member Functions

virtual ScMatrixRef inverseMatrix (const ScMatrix &rMat)=0
 
virtual bool interpret (ScDocument &rDoc, const ScAddress &rTopPos, ScFormulaCellGroupRef &xGroup, ScTokenArray &rCode)=0
 

Static Public Member Functions

static FormulaGroupInterpretergetStatic ()
 load and/or configure the correct formula group interpreter More...
 

Protected Member Functions

 FormulaGroupInterpreter ()
 
virtual ~FormulaGroupInterpreter ()
 
void MergeCalcConfig (const ScDocument &rDoc)
 Merge global and document specific settings. More...
 

Protected Attributes

ScCalcConfig maCalcConfig
 

Static Private Attributes

static FormulaGroupInterpretermsInstance = nullptr
 

Detailed Description

Abstract base class for vectorised formula group interpreters, plus a global instance factory.

Definition at line 122 of file formulagroup.hxx.

Constructor & Destructor Documentation

sc::FormulaGroupInterpreter::FormulaGroupInterpreter ( )
inlineprotected

Definition at line 129 of file formulagroup.hxx.

virtual sc::FormulaGroupInterpreter::~FormulaGroupInterpreter ( )
inlineprotectedvirtual

Definition at line 130 of file formulagroup.hxx.

Member Function Documentation

FormulaGroupInterpreter * sc::FormulaGroupInterpreter::getStatic ( )
static
virtual bool sc::FormulaGroupInterpreter::interpret ( ScDocument rDoc,
const ScAddress rTopPos,
ScFormulaCellGroupRef xGroup,
ScTokenArray rCode 
)
pure virtual
virtual ScMatrixRef sc::FormulaGroupInterpreter::inverseMatrix ( const ScMatrix rMat)
pure virtual
void sc::FormulaGroupInterpreter::MergeCalcConfig ( const ScDocument rDoc)
protected

Merge global and document specific settings.

Definition at line 151 of file formulagroup.cxx.

References ScDocument::GetCalcConfig(), and ScInterpreter::GetGlobalConfig().

Referenced by sc::opencl::FormulaGroupInterpreterOpenCL::interpret().

Member Data Documentation

ScCalcConfig sc::FormulaGroupInterpreter::maCalcConfig
protected
FormulaGroupInterpreter * sc::FormulaGroupInterpreter::msInstance = nullptr
staticprivate

Definition at line 124 of file formulagroup.hxx.


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