BornAgain
1.19.0
Simulate and fit neutron and x-ray scattering at grazing incidence
|
Base class for strategies to find children, actual of fictional, of given item. More...
Public Member Functions | |
virtual | ~ChildrenStrategyInterface ()=default |
virtual std::vector< SessionItem * > | children (const SessionItem *item) const =0 |
Returns vector of children of given item. More... | |
Base class for strategies to find children, actual of fictional, of given item.
Reported vector of children might be different from actual children of given item. The strategy is used in context of AbstractViewModel while exposing SessionModel to Qt. Thanks to this strategy ViewModel decides which items to visit.
Definition at line 31 of file childrenstrategyinterface.h.
|
virtualdefault |
|
pure virtual |
Returns vector of children of given item.
Implemented in ModelView::PropertyItemsFlatStrategy, ModelView::PropertyItemsStrategy, ModelView::TopItemsStrategy, and ModelView::AllChildrenStrategy.