BornAgain  1.19.79
Simulate and fit neutron and x-ray scattering at grazing incidence
FormFactorItemCatalog.cpp File Reference

Description

Implements class FormFactorItemCatalog.

Homepage:\n http://www.bornagainproject.org
License:\n GNU General Public License v3 or higher (see COPYING)
Authors
Scientific Computing Group at MLZ (see CITATION, AUTHORS)

Definition in file FormFactorItemCatalog.cpp.

Include dependency graph for FormFactorItemCatalog.cpp:

Go to the source code of this file.

Macros

#define CHECK(type)
 
#define CREATE(t)
 

Macro Definition Documentation

◆ CHECK

#define CHECK (   type)
Value:
if (dynamic_cast<const type##Item*>(item)) \
return Type::type

◆ CREATE

#define CREATE (   t)
Value:
case Type::t: \
return new t##Item()