The AssignVariables class This class assign variable of a formula string. Return the final string used to be displayed from a formula string.
More...
#include <assignvariables.h>
The AssignVariables class This class assign variable of a formula string. Return the final string used to be displayed from a formula string.
◆ AssignVariables()
autonum::AssignVariables::AssignVariables |
( |
const QString & |
formula, |
|
|
const sequentialNumbers & |
seqStruct, |
|
|
Diagram * |
diagram, |
|
|
const Element * |
elmt = nullptr |
|
) |
| |
|
private |
◆ assignProjectVar()
void autonum::AssignVariables::assignProjectVar |
( |
| ) |
|
|
private |
◆ assignSequence()
void autonum::AssignVariables::assignSequence |
( |
| ) |
|
|
private |
◆ assignTitleBlockVar()
void autonum::AssignVariables::assignTitleBlockVar |
( |
| ) |
|
|
private |
◆ formulaToLabel()
AssignVariables::formulaToLabel Return the formula with variable assigned (ready to be displayed)
- Parameters
-
formula | - the formula to work |
seqStruct | - struct where is stocked int values (struct is passed as a reference and modified by this static method) |
diagram | - the diagram where occure the formula. |
elmt | - parent element (if any) of the formula |
- Returns
- the string with variable assigned.
◆ replaceVariable()
QString autonum::AssignVariables::replaceVariable |
( |
const QString & |
formula, |
|
|
const DiagramContext & |
dc |
|
) |
| |
|
static |
◆ m_arg_formula
QString autonum::AssignVariables::m_arg_formula |
|
private |
◆ m_assigned_label
QString autonum::AssignVariables::m_assigned_label |
|
private |
◆ m_diagram
Diagram* autonum::AssignVariables::m_diagram = nullptr |
|
private |
◆ m_element
const Element* autonum::AssignVariables::m_element = nullptr |
|
private |
◆ m_seq_struct
The documentation for this class was generated from the following files: