#include <cuformulaplugin.h>
◆ CuFormulaPlugin()
CuFormulaPlugin::CuFormulaPlugin |
( |
QObject * | parent = nullptr | ) |
|
◆ ~CuFormulaPlugin()
CuFormulaPlugin::~CuFormulaPlugin |
( |
| ) |
|
|
virtual |
◆ addSrcPattern()
void CuFormulaPlugin::addSrcPattern |
( |
const std::string & | pattern | ) |
|
- Parameters
-
pattern | a new pattern to be added to the source patterns for the formula plugin |
- Note
- The default pattern is *formula:// *
References CuFormulasPluginPrivate::patterns.
◆ error()
bool CuFormulaPlugin::error |
( |
| ) |
const |
◆ getCumbia()
Cumbia * CuFormulaPlugin::getCumbia |
( |
| ) |
const |
◆ getFormulaParserInstance()
CuFormulaParserI * CuFormulaPlugin::getFormulaParserInstance |
( |
| ) |
const |
- Returns
- a new CuFormulaParser
- Note
- The caller acquires the ownership of the new object.
◆ getFormulaReaderFactory()
CuControlsReaderFactoryI * CuFormulaPlugin::getFormulaReaderFactory |
( |
| ) |
const |
◆ getName()
QString CuFormulaPlugin::getName |
( |
| ) |
const |
◆ initialize()
void CuFormulaPlugin::initialize |
( |
CumbiaPool * | cu_poo, |
|
|
CuControlsFactoryPool & | fpool ) |
- Parameters
-
cu_poo | the application wide pointer to CumbiaPool |
fpool | the application wide (non const) reference to CuControlFactoryPool |
After plugin initialization, both pools will have the formula domain registered with the cuformula patterns (formula:// prefix).
- Important note 1
- CuFormulaPlugin::initialize shall be called before any source setup, so that the application wide pools will contain the formula domain with the necessary factories.
- Important note 2
- cu_poo and fpool shall be initialized with all other desired engines before this call.
References CuFormulasPluginPrivate::cu_f, CuFormulasPluginPrivate::patterns, and CuFormulasPluginPrivate::reader_f.
◆ message()
std::string CuFormulaPlugin::message |
( |
| ) |
const |
◆ srcPatterns()
std::vector< std::string > CuFormulaPlugin::srcPatterns |
( |
| ) |
const |
The documentation for this class was generated from the following files: