AmpGen 2.1
Loading...
Searching...
No Matches
AmpGen::Expression Class Reference

Detailed Description

Definition at line 135 of file Expression.h.

Public Member Functions

 Expression ()
 
 Expression (const real_t &value)
 
 Expression (const complex_t &value)
 
 Expression (const std::shared_ptr< IExpression > &expression)
 
 ~Expression ()=default
 
std::string to_string (const ASTResolver *resolver=nullptr) const
 
IExpressionget () const
 
void resolve (ASTResolver &resolver) const
 
Expression operator+= (const Expression &other)
 
Expression operator*= (const Expression &other)
 
Expression operator-= (const Expression &other)
 
Expression operator/= (const Expression &other)
 
Expression operator- () const
 
complex_t operator() () const
 

Constructor & Destructor Documentation

◆ Expression() [1/4]

AmpGen::Expression::Expression ( )

◆ Expression() [2/4]

AmpGen::Expression::Expression ( const real_t & value)

◆ Expression() [3/4]

AmpGen::Expression::Expression ( const complex_t & value)

◆ Expression() [4/4]

AmpGen::Expression::Expression ( const std::shared_ptr< IExpression > & expression)

◆ ~Expression()

AmpGen::Expression::~Expression ( )
default

Member Function Documentation

◆ get()

IExpression * AmpGen::Expression::get ( ) const

◆ operator()()

complex_t AmpGen::Expression::operator() ( ) const

◆ operator*=()

Expression AmpGen::Expression::operator*= ( const Expression & other)

◆ operator+=()

Expression AmpGen::Expression::operator+= ( const Expression & other)

◆ operator-()

Expression AmpGen::Expression::operator- ( ) const

◆ operator-=()

Expression AmpGen::Expression::operator-= ( const Expression & other)

◆ operator/=()

Expression AmpGen::Expression::operator/= ( const Expression & other)

◆ resolve()

void AmpGen::Expression::resolve ( ASTResolver & resolver) const

◆ to_string()

std::string AmpGen::Expression::to_string ( const ASTResolver * resolver = nullptr) const

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