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

Detailed Description

Definition at line 335 of file Expression.h.

Public Member Functions

 Fmod (const Expression &l, const Expression &r)
 
 Fmod (const Expression &expr)
 
virtual std::string to_string (const ASTResolver *resolver=nullptr) const override
 Called to convert the Expression tree into source code.
 
 operator Expression () const
 
virtual complex_t operator() () const override
 Evaluate the expression using the tree, will generally be very slow but ocassionally useful for debugging.
 
void resolve (ASTResolver &resolver) const override
 Resolve the dependencies of a tree using an ASTResolver, which keeps track of parameters, dependent sub-trees, etc.
 
Expression l () const
 
Expression r () const
 

Protected Attributes

Expression lval
 
Expression rval
 
Inheritance diagram for AmpGen::Fmod:
AmpGen::IBinaryExpression AmpGen::IExpression

Constructor & Destructor Documentation

◆ Fmod() [1/2]

AmpGen::Fmod::Fmod ( const Expression & l,
const Expression & r )

◆ Fmod() [2/2]

AmpGen::Fmod::Fmod ( const Expression & expr)

Member Function Documentation

◆ l()

Expression AmpGen::IBinaryExpression::l ( ) const
inlineinherited

Definition at line 306 of file Expression.h.

◆ operator Expression()

AmpGen::Fmod::operator Expression ( ) const

◆ operator()()

virtual complex_t AmpGen::Fmod::operator() ( ) const
overridevirtual

◆ r()

Expression AmpGen::IBinaryExpression::r ( ) const
inlineinherited

Definition at line 307 of file Expression.h.

◆ resolve()

void AmpGen::IBinaryExpression::resolve ( ASTResolver & resolver) const
overridevirtualinherited
Parameters
resolverresolver object to use

Implements AmpGen::IExpression.

◆ to_string()

virtual std::string AmpGen::Fmod::to_string ( const ASTResolver * resolver = nullptr) const
overridevirtual
Returns
The source code as a string

Implements AmpGen::IExpression.

Member Data Documentation

◆ lval

Expression AmpGen::IBinaryExpression::lval
protectedinherited

Definition at line 309 of file Expression.h.

◆ rval

Expression AmpGen::IBinaryExpression::rval
protectedinherited

Definition at line 310 of file Expression.h.


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