Parser::ShuntingYard::Operators::FunctionOperator Class Reference

function or unary operator on shunting yards operator stack More...

Inheritance diagram for Parser::ShuntingYard::Operators::FunctionOperator:

Inheritance graph
[legend]
List of all members.

Public Member Functions

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

Private Attributes

std::function< double(double)> m_function

Detailed Description

function or unary operator on shunting yards operator stack

Definition at line 188 of file ParseExp.cpp.


Constructor & Destructor Documentation

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

Definition at line 191 of file ParseExp.cpp.


Member Function Documentation

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

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

Definition at line 192 of file ParseExp.cpp.


Member Data Documentation

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

Definition at line 192 of file ParseExp.cpp.


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