libSBML C++ API  libSBML 5.13.0 C++ API
FormulaTokenizer_t Struct Reference

Detailed Description

{core}

Tracks the state of tokenizing a formula string.

This structure (FormulaTokenizer_t) is part of the simpler mathematical formula translation system designed to help convert between SBML Level 1 and Levels 2 and 3. SBML Level 1 uses a simple text-string representation of mathematical formulas, rather than the MathML-based representation used in SBML Levels 2 and 3. LibSBML implements a parser and converter to translate formulas between this text-string representation and MathML. The principal entry points to the translation system are SBML_formulaToString()

Public Attributes

char * formula
 
unsigned int pos
 

Member Data Documentation

§ formula

char* FormulaTokenizer_t::formula

Field used to store the formula string.

§ pos

unsigned int FormulaTokenizer_t::pos

Field used to store the current parsing position.