BornAgain  1.19.79
Simulate and fit neutron and x-ray scattering at grazing incidence
ResolutionFunctionItem Class Referenceabstract

Description

Definition at line 25 of file ResolutionFunctionItems.h.

Inheritance diagram for ResolutionFunctionItem:
[legend]

Public Member Functions

virtual ~ResolutionFunctionItem ()=default
 
virtual std::unique_ptr< IResolutionFunction2D > createResolutionFunction (double scale=1.0) const =0
 
virtual void serialize (Streamer &)
 
virtual void setUnit (const std::variant< QString, Unit > &)
 Set the unit of the distributed value. More...
 

Constructor & Destructor Documentation

◆ ~ResolutionFunctionItem()

virtual ResolutionFunctionItem::~ResolutionFunctionItem ( )
virtualdefault

Member Function Documentation

◆ createResolutionFunction()

virtual std::unique_ptr<IResolutionFunction2D> ResolutionFunctionItem::createResolutionFunction ( double  scale = 1.0) const
pure virtual

◆ serialize()

virtual void ResolutionFunctionItem::serialize ( Streamer )
inlinevirtual

Reimplemented in ResolutionFunction2DGaussianItem.

Definition at line 34 of file ResolutionFunctionItems.h.

34 {};

◆ setUnit()

virtual void ResolutionFunctionItem::setUnit ( const std::variant< QString, Unit > &  )
inlinevirtual

Set the unit of the distributed value.

Reimplemented in ResolutionFunction2DGaussianItem.

Definition at line 33 of file ResolutionFunctionItems.h.

33 {}

Referenced by RectangularDetectorItem::serialize(), and SphericalDetectorItem::serialize().


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