|
wxMaxima
|
Implements the parser for the <variables> XML documents Maxima sends. More...
#include "MaximaVariableUpdates.h"Functions | |
| std::vector< MaximaVariableUpdate > | ParseMaximaVariableUpdates (const wxXmlDocument &xmldoc) |
| Parses a <variables> XML document Maxima sent into a list of updates. | |
| std::vector< wxString > | ParseWatchVariableAdditions (const wxXmlDocument &xmldoc) |
| Parses the <watch_variables_add> XML document Maxima sends into the list of variable names to add to the watch list. | |
Implements the parser for the <variables> XML documents Maxima sends.
| std::vector< MaximaVariableUpdate > ParseMaximaVariableUpdates | ( | const wxXmlDocument & | xmldoc | ) |
Parses a <variables> XML document Maxima sent into a list of updates.
Returns one entry per <variable> element that contains a <name>. An entry is bound if the element also contains a non-empty
node.
The document's validity (wxXmlDocument::IsOk()) is the caller's responsibility; an invalid or empty document yields an empty list.
| std::vector< wxString > ParseWatchVariableAdditions | ( | const wxXmlDocument & | xmldoc | ) |
Parses the <watch_variables_add> XML document Maxima sends into the list of variable names to add to the watch list.
Unlike the <variables> document above, each <variable> element here holds the variable's name directly as its text content.
The document's validity (wxXmlDocument::IsOk()) is the caller's responsibility; an invalid or empty document yields an empty list.