Milo  0.1
Milo:EquationManipulationProgram
Typedefs | Variables
nodes.cpp File Reference
#include <iostream>
#include <vector>
#include <iterator>
#include <map>
#include <limits>
#include <typeinfo>
#include "milo.h"
#include "nodes.h"
#include "ui.h"
Include dependency graph for nodes.cpp:

Typedefs

using create_ptr = bool(*)(Equation &)
 
using create_map = std::map< std::string, create_ptr >
 Map that associates a name with a static function that creates node.
 

Variables

static const create_map createNodes
 

Detailed Description

This file contains the implementation of member functions of classes derived from Node not involved in construction from a parser, or symbolic maninpulation. Mostly it is support for the GUI.

Typedef Documentation

using create_ptr = bool (*)(Equation&)

Function pointer that takes equation and creates a node at Equation's current input.

Variable Documentation

const create_map createNodes
static
Initial value:
= {
}
static const std::string name
Name of Power class.
Definition: nodes.h:379
static bool create(Equation &eqn)
Definition: nodes.cpp:519
static const std::string name
Name of Divide class.
Definition: nodes.h:253
static bool create(Equation &eqn)
Definition: nodes.cpp:546

Map associates class names with functions that add them to current input.