BornAgain  1.19.79
Simulate and fit neutron and x-ray scattering at grazing incidence
ResolutionFunctionNoneItem Class Reference

Description

Definition at line 37 of file ResolutionFunctionItems.h.

Inheritance diagram for ResolutionFunctionNoneItem:
[legend]
Collaboration diagram for ResolutionFunctionNoneItem:
[legend]

Public Member Functions

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

Member Function Documentation

◆ createResolutionFunction()

std::unique_ptr< IResolutionFunction2D > ResolutionFunctionNoneItem::createResolutionFunction ( double  scale = 1.0) const
overridevirtual

Implements ResolutionFunctionItem.

Definition at line 20 of file ResolutionFunctionItems.cpp.

21 {
22  return {};
23 }

◆ serialize()

virtual void ResolutionFunctionItem::serialize ( Streamer )
inlinevirtualinherited

Reimplemented in ResolutionFunction2DGaussianItem.

Definition at line 34 of file ResolutionFunctionItems.h.

34 {};

◆ setUnit()

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

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 files: