Parser::ShuntingYard::Operators::BinaryOperator Class Reference

binary operator on stack on shunting yards operator stack More...

Inheritance diagram for Parser::ShuntingYard::Operators::BinaryOperator:

Inheritance graph
[legend]
List of all members.

Public Member Functions

 BinaryOperator (std::function< double(double, double)> func, int prec, bool rightAssoc=false)
RPNTokens::TokenBaseGetTokenBase ()

Private Attributes

std::function< double(double,
double)> 
m_function

Detailed Description

binary operator on stack on shunting yards operator stack

Definition at line 198 of file ParseExp.cpp.


Constructor & Destructor Documentation

Parser::ShuntingYard::Operators::BinaryOperator::BinaryOperator ( std::function< double(double, double)>  func,
int  prec,
bool  rightAssoc = false 
) [inline]

Definition at line 201 of file ParseExp.cpp.


Member Function Documentation

RPNTokens::TokenBase* Parser::ShuntingYard::Operators::BinaryOperator::GetTokenBase (  )  [inline, virtual]

Reimplemented from Parser::ShuntingYard::Operators::OperatorBase.

Definition at line 202 of file ParseExp.cpp.


Member Data Documentation

std::function<double(double, double)> Parser::ShuntingYard::Operators::BinaryOperator::m_function [private]

Definition at line 202 of file ParseExp.cpp.


The documentation for this class was generated from the following file:
Generated on 20 Jan 2018 for Hugintrunk by  doxygen 1.4.7