MCPcopy Create free account
hub / github.com/Samsung/UTopia / ArrayGroupFilter

Class ArrayGroupFilter

include/ftg/inputfilter/ArrayGroupFilter.h:9–26  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

7namespace ftg {
8
9class ArrayGroupFilter : public GroupFilter {
10public:
11 static const std::string FilterName;
12 ArrayGroupFilter(std::unique_ptr<GroupFilter> NextFilter = nullptr);
13
14protected:
15 virtual void
16 check(std::map<unsigned, std::shared_ptr<Definition>> &DefMap) const override;
17
18private:
19 void applyArrayGroups(
20 const std::map<unsigned, std::shared_ptr<Definition>> &DefMap,
21 std::vector<std::set<unsigned>> &ArrayGroups) const;
22 std::vector<std::set<unsigned>> generateArrayGroups(
23 const std::map<unsigned, std::shared_ptr<Definition>> &DefMap) const;
24 void updateGroups(std::vector<std::set<unsigned>> &Result,
25 const std::set<unsigned> &Group) const;
26};
27
28} // namespace ftg
29

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected