Definition at line 626 of file ax_tree.cc.
◆ OrderedSetItemsMap()
ui::AXTree::OrderedSetItemsMap::OrderedSetItemsMap |
( |
| ) |
|
|
default |
◆ ~OrderedSetItemsMap()
ui::AXTree::OrderedSetItemsMap::~OrderedSetItemsMap |
( |
| ) |
|
|
default |
◆ Add()
void ui::AXTree::OrderedSetItemsMap::Add |
( |
std::optional< int > |
level, |
|
|
const OrderedSetContent & |
ordered_set_content |
|
) |
| |
|
inline |
Definition at line 639 of file ax_tree.cc.
640 {
643
645 }
std::map< std::optional< int32_t >, std::vector< OrderedSetContent > > items_map_
bool HierarchicalLevelExists(std::optional< int > level)
◆ AddItemToBack()
void ui::AXTree::OrderedSetItemsMap::AddItemToBack |
( |
std::optional< int > |
level, |
|
|
const AXNode * |
item |
|
) |
| |
|
inline |
Definition at line 654 of file ax_tree.cc.
654 {
656 return;
657
659 if (!sets_list.empty()) {
660 OrderedSetContent& ordered_set_content = sets_list.back();
661 ordered_set_content.set_items_.push_back(item);
662 }
663 }
◆ Clear()
void ui::AXTree::OrderedSetItemsMap::Clear |
( |
| ) |
|
|
inline |
◆ GetFirstOrderedSetContent()
Definition at line 666 of file ax_tree.cc.
666 {
668 return nullptr;
669
670 std::vector<OrderedSetContent>& sets_list =
items_map_.begin()->second;
671 if (sets_list.empty())
672 return nullptr;
673
674 return &(sets_list.front());
675 }
◆ HierarchicalLevelExists()
bool ui::AXTree::OrderedSetItemsMap::HierarchicalLevelExists |
( |
std::optional< int > |
level | ) |
|
|
inline |
Definition at line 631 of file ax_tree.cc.
631 {
633 return false;
634 return true;
635 }
◆ items_map_
std::map<std::optional<int32_t>, std::vector<OrderedSetContent> > ui::AXTree::OrderedSetItemsMap::items_map_ |
The documentation for this struct was generated from the following file: