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

Class InputFilter

include/ftg/inputfilter/InputFilter.h:10–24  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

8namespace ftg {
9
10class InputFilter {
11public:
12 virtual ~InputFilter() = default;
13 InputFilter(std::string FilterName, std::unique_ptr<InputFilter> NextFilter);
14 bool start(const ASTIRNode &Node) const;
15 bool start(const ASTIRNode &Node,
16 std::set<std::string> &AppliedFilters) const;
17
18protected:
19 virtual bool check(const ASTIRNode &Node) const = 0;
20
21private:
22 std::string FilterName;
23 std::unique_ptr<InputFilter> NextFilter;
24};
25
26} // namespace ftg
27

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected