API Documentation
Loading...
Searching...
No Matches
Formula Struct Reference

Logic for storing the definition of a formula, that can be displayed to the end-user. More...

#include <Formula.h>

Collaboration diagram for Formula:
[legend]

Public Member Functions

Buffer< StringdependentVariables () const
 
String displayFormula (bool simplify) const
 
Equation< fltp08equation () const
 
String simplifiedFormula () const
 
fltp08 solve () const
 

Static Public Member Functions

static String DisplayString (const String &name)
 

Public Attributes

String category
 
Dictionary< String, Stringdependent_variables
 
String description
 
String formula
 
TranslatedString name
 
ConstPointer< Unitresult_unit
 
UnitCategory result_unit_type = UnitCategory::e_undefined_unit
 
String symbol
 

Detailed Description

Logic for storing the definition of a formula, that can be displayed to the end-user.


Member Function Documentation

◆ dependentVariables()

Buffer< String > dependentVariables ( ) const

◆ displayFormula()

String displayFormula ( bool simplify) const

◆ DisplayString()

static String DisplayString ( const String & name)
static

◆ equation()

Equation< fltp08 > equation ( ) const

◆ simplifiedFormula()

String simplifiedFormula ( ) const

◆ solve()

fltp08 solve ( ) const

Member Data Documentation

◆ category

String category

◆ dependent_variables

Dictionary<String, String> dependent_variables

◆ description

String description

◆ formula

String formula

◆ name

◆ result_unit

ConstPointer<Unit> result_unit

◆ result_unit_type

◆ symbol

String symbol

The documentation for this struct was generated from the following file: