wxMaxima
Loading...
Searching...
No Matches
Public Member Functions
MathParser Class Reference

This class handles parsing the xml representation of a cell tree. More...

#include <MathParser.h>

Public Member Functions

 MathParser (Configuration *cfg, const wxString &zipfile={})
 The constructor.
 
 MathParser (const MathParser &)=delete
 This class doesn't have a copy constructor.
 
MathParseroperator= (const MathParser &)=delete
 This class doesn't have a = operator.
 
void SetUserLabel (const wxString &label)
 
std::unique_ptr< CellParseLine (wxString s, CellType style=MC_TYPE_DEFAULT)
 
std::unique_ptr< CellParseLine (const wxXmlDocument &xml, CellType style=MC_TYPE_DEFAULT)
 
std::unique_ptr< CellParseTag (wxXmlNode *node, bool all=true)
 
std::unique_ptr< CellParseRowTag (wxXmlNode *node)
 
void SetGroup (GroupCell *group)
 Sets the group the newly parsed cells are provided with.
 

Detailed Description

This class handles parsing the xml representation of a cell tree.

The xml representation of a cell tree can be found in the file contents.xml inside a wxmx file

Constructor & Destructor Documentation

◆ MathParser()

MathParser::MathParser ( Configuration cfg,
const wxString &  zipfile = {} 
)
explicit

The constructor.

Todo:
I guess we could increase the performance further by putting the most-frequently-used tags to the front of the list.

The documentation for this class was generated from the following files: