www.mooseframework.org
Public Member Functions | Protected Attributes | List of all members
ExpressionBuilder::EBUnaryTermNode Class Referenceabstract

Base class for nodes with a single sub node (i.e. functions or operators taking one argument) More...

#include <ExpressionBuilder.h>

Inheritance diagram for ExpressionBuilder::EBUnaryTermNode:
[legend]

Public Member Functions

 EBUnaryTermNode (EBTermNode *subnode)
 
virtual ~EBUnaryTermNode ()
 
virtual unsigned int substitute (const EBSubstitutionRuleList &rule)
 
const EBTermNodegetSubnode () const
 
virtual EBTermNodeclone () const =0
 
virtual std::string stringify () const =0
 
virtual int precedence () const =0
 

Protected Attributes

EBTermNode_subnode
 

Detailed Description

Base class for nodes with a single sub node (i.e. functions or operators taking one argument)

Definition at line 122 of file ExpressionBuilder.h.

Constructor & Destructor Documentation

◆ EBUnaryTermNode()

ExpressionBuilder::EBUnaryTermNode::EBUnaryTermNode ( EBTermNode subnode)
inline

Definition at line 125 of file ExpressionBuilder.h.

125 : _subnode(subnode){};

◆ ~EBUnaryTermNode()

virtual ExpressionBuilder::EBUnaryTermNode::~EBUnaryTermNode ( )
inlinevirtual

Definition at line 126 of file ExpressionBuilder.h.

126 { delete _subnode; };

Member Function Documentation

◆ clone()

virtual EBTermNode* ExpressionBuilder::EBTermNode::clone ( ) const
pure virtualinherited

◆ getSubnode()

const EBTermNode* ExpressionBuilder::EBUnaryTermNode::getSubnode ( ) const
inline

◆ precedence()

virtual int ExpressionBuilder::EBTermNode::precedence ( ) const
pure virtualinherited

◆ stringify()

virtual std::string ExpressionBuilder::EBTermNode::stringify ( ) const
pure virtualinherited

◆ substitute()

virtual unsigned int ExpressionBuilder::EBUnaryTermNode::substitute ( const EBSubstitutionRuleList rule)
virtual

Reimplemented from ExpressionBuilder::EBTermNode.

Member Data Documentation

◆ _subnode

EBTermNode* ExpressionBuilder::EBUnaryTermNode::_subnode
protected

Definition at line 132 of file ExpressionBuilder.h.


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