15 #ifndef BORNAGAIN_GUI_MODEL_MAKEITEM_ITEMCATALOG_H
16 #define BORNAGAIN_GUI_MODEL_MAKEITEM_ITEMCATALOG_H
18 #include "Base/Util/IFactory.h"
32 std::unique_ptr<SessionItem>
createItemPtr(
const QString& modelType)
const;
38 IFactory<QString, SessionItem>
m_data;
Catalog of SessionItems. A single instance is created and used in ItemFactory.cpp.
static ItemCatalog & instance()
std::unique_ptr< SessionItem > createItemPtr(const QString &modelType) const
IFactory< QString, SessionItem > m_data
Base class for a GUI data item.