Mantid
Loading...
Searching...
No Matches
Public Member Functions | Protected Attributes | List of all members
Mantid::API::FunctionHandler Class Referenceabstract

Classes inherited from FunctionHandler will handle the function. More...

#include <IFunction.h>

Inheritance diagram for Mantid::API::FunctionHandler:
MantidQt::MantidWidgets::PropertyHandler

Public Member Functions

IFunction_sptr function () const
 Return the handled function. More...
 
 FunctionHandler (const FunctionHandler &)=delete
 Delete copy constructor and copy assignment operator. More...
 
 FunctionHandler (IFunction_sptr fun)
 Constructor. More...
 
virtual void init ()=0
 abstract init method. It is called after setting handler to the function More...
 
FunctionHandleroperator= (const FunctionHandler &)=delete
 
virtual ~FunctionHandler ()=default
 Virtual destructor. More...
 

Protected Attributes

IFunction_sptr m_fun
 pointer to the handled function More...
 

Detailed Description

Classes inherited from FunctionHandler will handle the function.

The intended purpose is to help with displaying nested composite functions in a tree view. This way a display handler shows only single function and there is no need to duplicate the function tree structure.

Definition at line 743 of file IFunction.h.

Constructor & Destructor Documentation

◆ FunctionHandler() [1/2]

Mantid::API::FunctionHandler::FunctionHandler ( IFunction_sptr  fun)
inline

Constructor.

Definition at line 746 of file IFunction.h.

◆ FunctionHandler() [2/2]

Mantid::API::FunctionHandler::FunctionHandler ( const FunctionHandler )
delete

Delete copy constructor and copy assignment operator.

◆ ~FunctionHandler()

virtual Mantid::API::FunctionHandler::~FunctionHandler ( )
virtualdefault

Virtual destructor.

Member Function Documentation

◆ function()

IFunction_sptr Mantid::API::FunctionHandler::function ( ) const
inline

◆ init()

virtual void Mantid::API::FunctionHandler::init ( )
pure virtual

abstract init method. It is called after setting handler to the function

Implemented in MantidQt::MantidWidgets::PropertyHandler.

◆ operator=()

FunctionHandler & Mantid::API::FunctionHandler::operator= ( const FunctionHandler )
delete

Member Data Documentation

◆ m_fun

IFunction_sptr Mantid::API::FunctionHandler::m_fun
protected

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