ComPWA
Common Partial-Wave-Analysis Framework
ComPWA::FunctionTree::Strategy Class Referenceabstract

Virtual base class for operations of FunctionTree nodes. More...

#include <Functions.hpp>

Public Member Functions

 Strategy (ParType out, std::string name)
 
virtual ~Strategy ()=default
 
virtual const ParType OutType () const
 Return parameter type. More...
 
virtual void execute (ParameterList &paras, std::shared_ptr< Parameter > &out)=0
 Strategy execution. More...
 
std::string str () const
 

Protected Attributes

ParType checkType
 
const std::string Name
 

Friends

std::ostream & operator<< (std::ostream &out, std::shared_ptr< Strategy > b)
 
std::ostream & operator<< (std::ostream &out, const Strategy &b)
 

Detailed Description

Virtual base class for operations of FunctionTree nodes.

Definition at line 30 of file Functions.hpp.

+ Inheritance diagram for ComPWA::FunctionTree::Strategy:
+ Collaboration diagram for ComPWA::FunctionTree::Strategy:

Constructor & Destructor Documentation

◆ Strategy()

ComPWA::FunctionTree::Strategy::Strategy ( ParType  out,
std::string  name 
)
inline

Definition at line 32 of file Functions.hpp.

◆ ~Strategy()

virtual ComPWA::FunctionTree::Strategy::~Strategy ( )
virtualdefault

Member Function Documentation

◆ execute()

◆ OutType()

virtual const ParType ComPWA::FunctionTree::Strategy::OutType ( ) const
inlinevirtual

Return parameter type.

Definition at line 37 of file Functions.hpp.

◆ str()

std::string ComPWA::FunctionTree::Strategy::str ( ) const
inline

Definition at line 43 of file Functions.hpp.

Friends And Related Function Documentation

◆ operator<< [1/2]

std::ostream& operator<< ( std::ostream &  out,
std::shared_ptr< Strategy b 
)
friend

Definition at line 45 of file Functions.hpp.

◆ operator<< [2/2]

std::ostream& operator<< ( std::ostream &  out,
const Strategy b 
)
friend

Definition at line 50 of file Functions.hpp.

Member Data Documentation

◆ checkType

ParType ComPWA::FunctionTree::Strategy::checkType
protected

Definition at line 55 of file Functions.hpp.

◆ Name

const std::string ComPWA::FunctionTree::Strategy::Name
protected

Definition at line 56 of file Functions.hpp.


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