Classes | Functions

QCAD_StringFormulaEvaluator.cpp File Reference

#include <stdlib.h>
#include <string>
#include <list>
#include <sstream>
#include <iostream>
#include <exception>
#include <math.h>
#include "QCAD_StringFormulaEvaluator.hpp"
#include "PHAL_AlbanyTraits.hpp"
Include dependency graph for QCAD_StringFormulaEvaluator.cpp:

Go to the source code of this file.

Classes

class  EvaluateException

Functions

template<typename coordType >
coordType toDbl (std::string s, coordType x, coordType y, coordType z)
template<typename coordType >
std::string toStr (coordType d)
void printList (std::list< std::string > l)
template<typename coordType >
coordType Evaluate (std::string strExpression, coordType x, coordType y, coordType z)
template double Evaluate< double > (std::string, double, double, double)
template FadType Evaluate< FadType > (std::string, FadType, FadType, FadType)

Function Documentation

template<typename coordType >
coordType toDbl ( std::string  s,
coordType  x,
coordType  y,
coordType  z 
)

Definition at line 29 of file QCAD_StringFormulaEvaluator.cpp.

template<typename coordType >
std::string toStr ( coordType  d  ) 

Definition at line 39 of file QCAD_StringFormulaEvaluator.cpp.

void printList ( std::list< std::string >  l  ) 

Definition at line 45 of file QCAD_StringFormulaEvaluator.cpp.

template<typename coordType >
coordType Evaluate ( std::string  strExpression,
coordType  x,
coordType  y,
coordType  z 
)

Definition at line 53 of file QCAD_StringFormulaEvaluator.cpp.

template double Evaluate< double > ( std::string  ,
double  ,
double  ,
double   
)
template FadType Evaluate< FadType > ( std::string  ,
FadType  ,
FadType  ,
FadType   
)