BornAgain  1.19.0
Simulate and fit neutron and x-ray scattering at grazing incidence
ItemConverterFactoryTest Class Reference

Checks converters generated by ItemFactoryConverter. More...

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

Classes

class  TestItem
 
class  TestModel
 

Public Member Functions

 ItemConverterFactoryTest ()
 
const ItemFactoryInterfacefactory () const
 

Public Attributes

std::unique_ptr< SessionModelm_model
 

Detailed Description

Checks converters generated by ItemFactoryConverter.

Definition at line 30 of file itemconverterfactory.test.cpp.

Constructor & Destructor Documentation

◆ ItemConverterFactoryTest()

ItemConverterFactoryTest::ItemConverterFactoryTest ( )
inline

Definition at line 51 of file itemconverterfactory.test.cpp.

51 : m_model(std::make_unique<TestModel>()) {}
std::unique_ptr< SessionModel > m_model

Member Function Documentation

◆ factory()

const ItemFactoryInterface* ItemConverterFactoryTest::factory ( ) const
inline

Definition at line 53 of file itemconverterfactory.test.cpp.

53 { return m_model->factory(); }

Member Data Documentation

◆ m_model

std::unique_ptr<SessionModel> ItemConverterFactoryTest::m_model

Definition at line 55 of file itemconverterfactory.test.cpp.


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