40 bool Find(
const std::string &
name,
int indx = -1)
override
63 std::string item_name = elem->GetName();
65 auto item = std::make_unique<RItem>(
GetItemName(), -1,
"sap-icon://folder-blank");
67 if (elem->IsExpandByDefault())
68 item->SetExpanded(
true);
80 return std::make_unique<RGroupIter>(*
this);
std::unique_ptr< RItem > CreateItem() override
Create generic description item for RBrowser.
bool Find(const std::string &name, int indx=-1) override
Find item with specified name, use item MatchName() functionality.
std::string GetItemName() const override
Returns current element name
bool Next() override
Shift to next element.
virtual ~RGroupIter()=default
std::shared_ptr< RElement > GetElement() override
Returns full information for current element.
bool CanItemHaveChilds() const override
Returns true if item can have childs.
Group of browsable elements - combines several different elements together.
std::unique_ptr< RLevelIter > GetChildsIter() override
Create iterator for childs elements if any.
Iterator over single level hierarchy like any array, keys list, ...