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 121 of file formulagroup.hxx.

Constructor & Destructor Documentation

◆ FormulaGroupInterpreter()

sc::FormulaGroupInterpreter::FormulaGroupInterpreter ( )
inlineprotected

Definition at line 128 of file formulagroup.hxx.

◆ ~FormulaGroupInterpreter()

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

Definition at line 129 of file formulagroup.hxx.

Member Function Documentation

◆ getStatic()

FormulaGroupInterpreter * sc::FormulaGroupInterpreter::getStatic ( )
static

◆ interpret()

virtual bool sc::FormulaGroupInterpreter::interpret ( ScDocument rDoc,
const ScAddress rTopPos,
ScFormulaCellGroupRef xGroup,
ScTokenArray rCode 
)
pure virtual

◆ inverseMatrix()

virtual ScMatrixRef sc::FormulaGroupInterpreter::inverseMatrix ( const ScMatrix rMat)
pure virtual

◆ MergeCalcConfig()

void sc::FormulaGroupInterpreter::MergeCalcConfig ( const ScDocument rDoc)
protected

Merge global and document specific settings.

Definition at line 142 of file formulagroup.cxx.

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

Member Data Documentation

◆ maCalcConfig

ScCalcConfig sc::FormulaGroupInterpreter::maCalcConfig
protected

Definition at line 126 of file formulagroup.hxx.

◆ msInstance

FormulaGroupInterpreter * sc::FormulaGroupInterpreter::msInstance = nullptr
staticprivate

Definition at line 123 of file formulagroup.hxx.


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