|
Milo
0.1
Milo:EquationManipulationProgram
|


Public Types | |
| using | createPtr = Node *(*)(EqnXMLParser &, Node *) |
Public Member Functions | |
| EqnXMLParser (istream &in, Equation &eqn) | |
| ~EqnXMLParser () | |
| Virtual destructor. | |
| Equation & | getEqn () const |
| Node * | getFactor (Node *parent) |
| void | assertNoAttributes () |
Public Member Functions inherited from XML::Parser | |
| Parser (std::istream &in, const std::string &root) | |
| virtual | ~Parser () |
| bool | check (State state, const std::string &tag=std::string()) |
| Parser & | next (State state, const std::string &tag=std::string()) |
| void | finish () |
| const std::string & | getTag () const |
| bool | getAttribute (const std::string &name, std::string &value) |
| bool | hasAttributes () |
| bool | hasElement () |
| const std::string & | getElement () |
| void | syntaxError (const std::string &msg) |
Private Attributes | |
| Equation & | m_eqn |
| Reference to Equation object. | |
Static Private Attributes | |
| static const unordered_map< string, createPtr > | create_factors |
| using EqnXMLParser::createPtr = Node* (*)(EqnXMLParser&, Node*) |
|
inline |
Constructor for EqnXMLParser.
|
inline |
Throw an error if there are attributes left.
|
inline |
Get next factor from xml.
| parent | Set parent of factor. |
|
staticprivate |
Map associating class Node names with a function that will create it.
1.8.11