|
libSBML C++ API
libSBML 5.17.2 C++ API
|
Formats an L3 AST formula tree as an SBML formula string. More...
Functions | |
| char * | SBML_formulaToL3String (const ASTNode_t *tree) |
| Converts an AST to a string representation of a formula using a syntax derived from SBML Level 1, but extended to include elements from SBML Level 2 and SBML Level 3. More... | |
| char * | SBML_formulaToL3StringWithSettings (const ASTNode_t *tree, const L3ParserSettings_t *settings) |
| Converts an AST to a string representation of a formula using a syntax basically derived from SBML Level 1, with behavior modifiable with custom settings. More... | |
Formats an L3 AST formula tree as an SBML formula string.
| char* SBML_formulaToL3String | ( | const ASTNode_t * | tree | ) |
Converts an AST to a string representation of a formula using a syntax derived from SBML Level 1, but extended to include elements from SBML Level 2 and SBML Level 3.
| tree | the AST to be converted. |
| char* SBML_formulaToL3StringWithSettings | ( | const ASTNode_t * | tree, |
| const L3ParserSettings_t * | settings | ||
| ) |
Converts an AST to a string representation of a formula using a syntax basically derived from SBML Level 1, with behavior modifiable with custom settings.
This function behaves identically to SBML_formulaToL3String(), but its behavior can be modified by two settings in the
| settings | object, namely: |
All other settings will not affect the behavior of this function: the 'parseLog' setting is ignored, and "log10(x)", "ln(x)", and "log(x, y)" are always produced. Nothing in the Model object is used, and whether Avogadro is a csymbol or not is immaterial to the produced infix.
| tree | the AST to be converted. |
| settings | the L3ParserSettings object used to modify behavior. |