MCPcopy Create free account
hub / github.com/OpenKneeboard/OpenKneeboard / GetBookmarks

Method GetBookmarks

src/app/app-common/KneeboardView.cpp:638–645  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

636}
637
638std::vector<Bookmark> KneeboardView::GetBookmarks() const {
639 std::vector<Bookmark> ret;
640 auto inserter = std::back_inserter(ret);
641 for (auto&& tab: this->GetRootTabs()) {
642 std::ranges::copy(tab->GetBookmarks(), inserter);
643 }
644 return ret;
645}
646
647std::vector<std::shared_ptr<ITab>> KneeboardView::GetRootTabs() const {
648 std::vector<std::shared_ptr<ITab>> ret;

Callers 6

SetBookmarkMethod · 0.95
GetBookmarkMethod · 0.95
RemoveBookmarkMethod · 0.45

Calls 1

GetRootTabsMethod · 0.95

Tested by

no test coverage detected