ComPWA
Common Partial-Wave-Analysis Framework
|
#include <Value.hpp>
Public Member Functions | |
Value (std::string name="") | |
Value (T val) | |
Value (std::string name, T val) | |
virtual T | value () const |
virtual T & | values () |
Reference on the value. More... | |
virtual void | setValue (T inVal) |
operator T () const | |
Conversion operator for internal type. More... | |
const T & | operator() () const |
T & | operator() () |
virtual std::string | to_str () const |
A public function returning a string with parameter information. More... | |
virtual std::string | val_to_str () const |
A public function returning a string with parameter value. More... | |
Public Member Functions inherited from ComPWA::FunctionTree::Parameter | |
Parameter (std::string name, ParType type=ParType::UNDEFINED) | |
Constructor with name of parameter and optional type. More... | |
virtual | ~Parameter ()=default |
virtual std::string | name () const |
Getter for name of object. More... | |
virtual void | setName (std::string n) |
Getter for name of object. More... | |
virtual ParType | type () const |
Getter for type of object. More... | |
virtual bool | isParameter () const |
void | attach (std::weak_ptr< ParObserver > newObserver) |
Attaches a new TreeNode as Observer. More... | |
void | detachExpired () |
Removes TreeNodes not needed as Observer anymore. More... | |
void | notify () |
Notify all observing TreeNodes that parameter changed. More... | |
Protected Member Functions | |
virtual std::string | className () const |
Getter for typename of object, to be defined by the actual implementation. More... | |
Protected Attributes | |
T | Val |
Protected Attributes inherited from ComPWA::FunctionTree::Parameter | |
std::string | Name |
Name of parameter. More... | |
ParType | Type |
Type of parameter (e.g. Double, Integer, ...) More... | |
std::vector< std::weak_ptr< ParObserver > > | ObservingNodes |
List of observers, e.g. TreeNodes. More... | |
|
inline |
|
inline |
|
inline |
|
inlineprotectedvirtual |
Getter for typename of object, to be defined by the actual implementation.
Implements ComPWA::FunctionTree::Parameter.
|
inline |
|
inline |
|
inline |
|
inlinevirtual |
|
inlinevirtual |
A public function returning a string with parameter information.
Implements ComPWA::FunctionTree::Parameter.
|
inlinevirtual |
A public function returning a string with parameter value.
Implements ComPWA::FunctionTree::Parameter.
|
inlinevirtual |
|
inlinevirtual |
|
protected |