15 #ifndef BORNAGAIN_MVVM_MODEL_MVVM_STANDARDITEMS_LINKEDITEM_H
16 #define BORNAGAIN_MVVM_MODEL_MVVM_STANDARDITEMS_LINKEDITEM_H
36 template <
typename T = SessionItem> T* get()
const;
Item to store a persistent link to other arbitrary items.
T * get() const
Returns item linked to given item. Works only in model context.
The main object representing an editable/displayable/serializable entity.
SessionModel * model() const
Returns the model to which given item belongs to.
SessionItem * findItem(const identifier_type &id)
Returns SessionItem for given identifier.
materialitems.h Collection of materials to populate MaterialModel.