|
libSBML C++ API
5.20.5
|
Utilities for reading and writing MathML to/from text strings. More...
Functions | |
| ASTNode_t * | readMathMLFromString (const char *xml) |
| ASTNode_t * | readMathMLFromStringWithNamespaces (const char *xml, XMLNamespaces_t *xmlns) |
| void | setSBMLDefinitionURLs (XMLInputStream &stream) |
| std::string | writeMathMLToStdString (const ASTNode *node) |
| std::string | writeMathMLToStdString (const ASTNode *node, SBMLNamespaces *sbmlns) |
| char * | writeMathMLToString (const ASTNode *node) |
| char * | writeMathMLWithNamespaceToString (const ASTNode_t *node, SBMLNamespaces_t *sbmlns) |
Utilities for reading and writing MathML to/from text strings.
| ASTNode_t * readMathMLFromString | ( | const char * | xml | ) |
Reads the MathML from the given XML string, constructs a corresponding abstract syntax tree, and returns a pointer to the root of the tree.
| ASTNode_t * readMathMLFromStringWithNamespaces | ( | const char * | xml, |
| XMLNamespaces_t * | xmlns | ||
| ) |
Reads the MathML from the given XML string, constructs a corresponding abstract syntax tree, and returns a pointer to the root of the tree.
| void setSBMLDefinitionURLs | ( | XMLInputStream & | stream | ) |
| std::string writeMathMLToStdString | ( | const ASTNode * | node | ) |
| std::string writeMathMLToStdString | ( | const ASTNode * | node, |
| SBMLNamespaces * | sbmlns | ||
| ) |
| char * writeMathMLToString | ( | const ASTNode * | node | ) |
| char * writeMathMLWithNamespaceToString | ( | const ASTNode_t * | node, |
| SBMLNamespaces_t * | sbmlns | ||
| ) |
Writes the given AST node (and its children) to a string as MathML, and returns the string.