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 119 of file ExpressionBuilder.h.

Constructor & Destructor Documentation

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

Definition at line 122 of file ExpressionBuilder.h.

122 : _subnode(subnode){};
virtual ExpressionBuilder::EBUnaryTermNode::~EBUnaryTermNode ( )
inlinevirtual

Definition at line 123 of file ExpressionBuilder.h.

123 { delete _subnode; };

Member Function Documentation

virtual EBTermNode* ExpressionBuilder::EBTermNode::clone ( ) const
pure virtualinherited
const EBTermNode* ExpressionBuilder::EBUnaryTermNode::getSubnode ( ) const
inline
virtual int ExpressionBuilder::EBTermNode::precedence ( ) const
pure virtualinherited
virtual std::string ExpressionBuilder::EBTermNode::stringify ( ) const
pure virtualinherited
virtual unsigned int ExpressionBuilder::EBUnaryTermNode::substitute ( const EBSubstitutionRuleList rule)
virtual

Reimplemented from ExpressionBuilder::EBTermNode.

Member Data Documentation

EBTermNode* ExpressionBuilder::EBUnaryTermNode::_subnode
protected

Definition at line 129 of file ExpressionBuilder.h.


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