28 if (i > indx)
return false;
29 if (i < indx)
continue;
46 return std::make_unique<RItem>(
GetItemName(), have_childs ? -1 : 0, have_childs ?
"sap-icon://folder-blank" :
"sap-icon://document");
virtual bool Next()=0
Shift to next entry.
virtual std::unique_ptr< RItem > CreateItem()
Create generic description item for RBrowser.
virtual bool Find(const std::string &name, int indx=-1)
Find item with specified name Default implementation, should work for all If index specified,...
virtual std::string GetItemName() const =0
Returns current entry name
virtual bool CanItemHaveChilds() const
Returns true if current item can have childs.