Public Member Functions | Public Attributes | List of all members
gnsstk::Expression::BinOpNode Class Reference

Detailed Description

Definition at line 251 of file Expression.hpp.

Inheritance diagram for gnsstk::Expression::BinOpNode:
Inheritance graph
[legend]

Public Member Functions

 BinOpNode (const std::string &theOp, ExpNode *theLeft, ExpNode *theRight)
 
double getValue ()
 
std::ostream & print (std::ostream &ostr)
 
- Public Member Functions inherited from gnsstk::Expression::ExpNode
virtual ~ExpNode ()
 

Public Attributes

ExpNodeleft
 
std::string op
 
ExpNoderight
 

Constructor & Destructor Documentation

◆ BinOpNode()

gnsstk::Expression::BinOpNode::BinOpNode ( const std::string &  theOp,
ExpNode theLeft,
ExpNode theRight 
)
inline

Definition at line 255 of file Expression.hpp.

Member Function Documentation

◆ getValue()

double gnsstk::Expression::BinOpNode::getValue ( )
virtual
Exceptions
ExpressionException

Implements gnsstk::Expression::ExpNode.

Definition at line 60 of file Expression.cpp.

◆ print()

std::ostream & gnsstk::Expression::BinOpNode::print ( std::ostream &  ostr)
virtual

Implements gnsstk::Expression::ExpNode.

Definition at line 106 of file Expression.cpp.

Member Data Documentation

◆ left

ExpNode* gnsstk::Expression::BinOpNode::left

Definition at line 266 of file Expression.hpp.

◆ op

std::string gnsstk::Expression::BinOpNode::op

Definition at line 265 of file Expression.hpp.

◆ right

ExpNode* gnsstk::Expression::BinOpNode::right

Definition at line 267 of file Expression.hpp.


The documentation for this class was generated from the following files:


gnsstk
Author(s):
autogenerated on Wed Oct 25 2023 02:40:44