libSBML C API
libSBML 5.8.0 C API
|
Definition of the level 3 infix-to-mathml parser settings.
Functions | |
L3ParserSettings_t * | L3ParserSettings_create () |
Creates a new L3ParserSettings_t object and returns a pointer to it. More... | |
void | L3ParserSettings_free (L3ParserSettings_t *settings) |
const Model_t * | L3ParserSettings_getModel (L3ParserSettings_t *settings) |
Retrieves the model associated with this L3ParserSettings_t object. More... | |
int | L3ParserSettings_getParseAvogadroCsymbol (L3ParserSettings_t *settings) |
Retrieves the avogadro csymbol option associated with this L3ParserSettings_t object. More... | |
int | L3ParserSettings_getParseCollapseMinus (L3ParserSettings_t *settings) |
Retrieves the collapse minus option associated with this L3ParserSettings_t object. More... | |
ParseLogType_t | L3ParserSettings_getParseLog (L3ParserSettings_t *settings) |
Retrieves the log parsing option associated with this L3ParserSettings_t object. More... | |
int | L3ParserSettings_getParseUnits (L3ParserSettings_t *settings) |
Retrieves the units option associated with this L3ParserSettings_t object. More... | |
void | L3ParserSettings_setModel (L3ParserSettings_t *settings, const Model_t *model) |
Sets the model associated with this L3ParserSettings_t object to the provided pointer. More... | |
void | L3ParserSettings_setParseAvogadroCsymbol (L3ParserSettings_t *settings, int flag) |
Sets the avogadro csymbol option associated with this L3ParserSettings_t object. More... | |
void | L3ParserSettings_setParseCollapseMinus (L3ParserSettings_t *settings, int flag) |
Sets the collapse minus option associated with this L3ParserSettings_t object. More... | |
void | L3ParserSettings_setParseLog (L3ParserSettings_t *settings, ParseLogType_t type) |
Sets the log parsing option associated with this L3ParserSettings_t object. More... | |
void | L3ParserSettings_setParseUnits (L3ParserSettings_t *settings, int flag) |
Sets the units option associated with this L3ParserSettings_t object. More... | |
void | L3ParserSettings_unsetModel (L3ParserSettings_t *settings) |
Unsets the model associated with this L3ParserSettings_t object. More... | |
L3ParserSettings_t* L3ParserSettings_create | ( | ) |
Creates a new L3ParserSettings_t object and returns a pointer to it.
void L3ParserSettings_free | ( | L3ParserSettings_t * | settings | ) |
const Model_t* L3ParserSettings_getModel | ( | L3ParserSettings_t * | settings | ) |
Retrieves the model associated with this L3ParserSettings_t object.
settings | the L3ParserSettings_t structure from which to get the Model. |
int L3ParserSettings_getParseAvogadroCsymbol | ( | L3ParserSettings_t * | settings | ) |
Retrieves the avogadro csymbol option associated with this L3ParserSettings_t object.
settings | the L3ParserSettings_t structure from which to get the option. |
int L3ParserSettings_getParseCollapseMinus | ( | L3ParserSettings_t * | settings | ) |
Retrieves the collapse minus option associated with this L3ParserSettings_t object.
This option allows the user to specify how the infix expression '-4' is parsed in a MathML ASTNode.
settings | the L3ParserSettings_t structure from which to get the option. |
ParseLogType_t L3ParserSettings_getParseLog | ( | L3ParserSettings_t * | settings | ) |
Retrieves the log parsing option associated with this L3ParserSettings_t object.
This option allows the user to specify how the infix expression 'log(x)' is parsed in a MathML ASTNode. The options are:
settings | the L3ParserSettings_t structure on which to set the Model. |
int L3ParserSettings_getParseUnits | ( | L3ParserSettings_t * | settings | ) |
Retrieves the units option associated with this L3ParserSettings_t object.
settings | the L3ParserSettings_t structure from which to get the option. |
void L3ParserSettings_setModel | ( | L3ParserSettings_t * | settings, |
const Model_t * | model | ||
) |
Sets the model associated with this L3ParserSettings_t object to the provided pointer.
settings | the L3ParserSettings_t structure on which to set the Model. |
model | The Model* object to which infix strings are to be compared. |
void L3ParserSettings_setParseAvogadroCsymbol | ( | L3ParserSettings_t * | settings, |
int | flag | ||
) |
Sets the avogadro csymbol option associated with this L3ParserSettings_t object.
settings | the L3ParserSettings_t structure on which to set the option. |
flag | an integer indicating whether avogadro should be considered as a csymbol (non-zero) or not (zero). |
void L3ParserSettings_setParseCollapseMinus | ( | L3ParserSettings_t * | settings, |
int | flag | ||
) |
Sets the collapse minus option associated with this L3ParserSettings_t object.
This option allows the user to specify how the infix expression '-4' is parsed in a MathML ASTNode.
settings | the L3ParserSettings_t structure on which to set the option. |
flag | an integer indicating whether unary minus should be collapsed (non-zero) or not (zero). |
void L3ParserSettings_setParseLog | ( | L3ParserSettings_t * | settings, |
ParseLogType_t | type | ||
) |
Sets the log parsing option associated with this L3ParserSettings_t object.
This option allows the user to specify how the infix expression 'log(x)' is parsed in a MathML ASTNode. The options are:
settings | the L3ParserSettings_t structure on which to set the option. |
type | ParseLogType_t log parsing option to associate with this L3ParserSettings_t object. |
void L3ParserSettings_setParseUnits | ( | L3ParserSettings_t * | settings, |
int | flag | ||
) |
Sets the units option associated with this L3ParserSettings_t object.
settings | the L3ParserSettings_t structure on which to set the option. |
flag | an integer indicating whether numbers should be considered as a having units (non-zero) or not (zero). |
void L3ParserSettings_unsetModel | ( | L3ParserSettings_t * | settings | ) |
Unsets the model associated with this L3ParserSettings_t object.
settings | the L3ParserSettings_t structure on which to unset the Model. |