MCPcopy Create free account
hub / github.com/FreeCAD/FreeCAD / getImportModules

Method getImportModules

src/App/Application.cpp:1605–1618  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1603}
1604
1605std::vector<std::string> Application::getImportModules(const std::string& extension) const
1606{
1607 std::vector<std::string> modules;
1608 for (const auto & it : _mImportTypes) {
1609 const std::vector<std::string>& types = it.types;
1610 for (const auto & jt : types) {
1611 if (boost::iequals(extension, jt)) {
1612 modules.push_back(it.module);
1613 }
1614 }
1615 }
1616
1617 return modules;
1618}
1619
1620std::vector<std::string> Application::getImportModules() const
1621{

Callers 5

sLoadFileMethod · 0.80
sGetImportTypeMethod · 0.80
processFilesMethod · 0.80
loadUrlsMethod · 0.80
sLoadFileMethod · 0.80

Calls 6

reserveMethod · 0.80
push_backMethod · 0.45
sizeMethod · 0.45
beginMethod · 0.45
endMethod · 0.45
eraseMethod · 0.45

Tested by

no test coverage detected