| 3 | namespace ftg { |
| 4 | |
| 5 | std::unique_ptr<TCAnalyzerFactory> createTCAnalyzerFactory(std::string Type) { |
| 6 | if (Type == "tct") |
| 7 | return std::make_unique<TCTAnalyzerFactory>(); |
| 8 | if (Type == "gtest") |
| 9 | return std::make_unique<GoogleTestAnalyzerFactory>(); |
| 10 | if (Type == "boost") |
| 11 | return std::make_unique<BoostAnalyzerFactory>(); |
| 12 | return nullptr; |
| 13 | } |
| 14 | |
| 15 | } // namespace ftg |
no outgoing calls