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

Description

Definition at line 34 of file FormFactorItems.h.

Inheritance diagram for FormFactorItem:
[legend]

Public Member Functions

virtual ~FormFactorItem ()=default
 
virtual std::unique_ptr< IFormFactor > createFormFactor () const =0
 
virtual DoubleDescriptors geometryValues () const =0
 
virtual QVector< DoubleProperty * > serializationProperties ()=0
 
virtual void serialize (Streamer &s)
 

Constructor & Destructor Documentation

◆ ~FormFactorItem()

virtual FormFactorItem::~FormFactorItem ( )
virtualdefault

Member Function Documentation

◆ createFormFactor()

◆ geometryValues()

◆ serializationProperties()

◆ serialize()

void FormFactorItem::serialize ( Streamer s)
virtual

Definition at line 473 of file FormFactorItems.cpp.

474 {
475  s.assertVersion(0);
476  for (auto* p : serializationProperties())
477  Serialize::rwProperty(s, *p);
478 }
virtual QVector< DoubleProperty * > serializationProperties()=0
void assertVersion(unsigned expectedVersion) const
As reader, throws DeserializationException unless the expected version is read. As writer,...
Definition: Streamer.cpp:26
void rwProperty(Streamer &s, DoubleProperty &d)

References Streamer::assertVersion(), Serialize::rwProperty(), and serializationProperties().

Here is the call graph for this function:

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