Rosetta
Public Member Functions | Private Attributes | List of all members
numeric::expression_parser::UnaryExpression Class Reference

#include <Arithmetic.hh>

Inheritance diagram for numeric::expression_parser::UnaryExpression:
Inheritance graph
[legend]

Public Member Functions

 UnaryExpression ()
 
 ~UnaryExpression () override
 
 UnaryExpression (ExpressionCOP ex)
 
void set_expression (ExpressionCOP ex)
 
std::list< std::string > active_variables () const override
 
ExpressionCOP ex () const
 
- Public Member Functions inherited from numeric::expression_parser::Expression
 ~Expression () override
 Automatically generated virtual destructor for class deriving directly from VirtualBase. More...
 
virtual numeric::Real operator() () const =0
 
virtual ExpressionCOP differentiate (std::string const &varname) const =0
 Returns the expression for the partial derivative of this expression by the variable named varname. If the partial derivative is always zero with respect to varname, returns null. More...
 
- Public Member Functions inherited from utility::VirtualBase
 VirtualBase ()=default
 Default constructor. More...
 
virtual ~VirtualBase ()=default
 The virtual destructor is one of the main reasons for the VirtualBase class. More...
 
 VirtualBase (VirtualBase const &)=default
 
 VirtualBase (VirtualBase &&)=default
 
VirtualBaseoperator= (VirtualBase const &)=default
 
VirtualBaseoperator= (VirtualBase &&)=default
 

Private Attributes

ExpressionCOP ex_
 

Constructor & Destructor Documentation

◆ UnaryExpression() [1/2]

numeric::expression_parser::UnaryExpression::UnaryExpression ( )

◆ ~UnaryExpression()

numeric::expression_parser::UnaryExpression::~UnaryExpression ( )
overridedefault

◆ UnaryExpression() [2/2]

numeric::expression_parser::UnaryExpression::UnaryExpression ( ExpressionCOP  ex)

Member Function Documentation

◆ active_variables()

std::list< std::string > numeric::expression_parser::UnaryExpression::active_variables ( ) const
overridevirtual

◆ ex()

ExpressionCOP numeric::expression_parser::UnaryExpression::ex ( ) const

◆ set_expression()

void numeric::expression_parser::UnaryExpression::set_expression ( ExpressionCOP  ex)

References ex(), and ex_.

Member Data Documentation

◆ ex_

ExpressionCOP numeric::expression_parser::UnaryExpression::ex_
private

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