MCPcopy Create free account
hub / github.com/MiniZinc/MiniZincIDE / getFiles

Method getFiles

MiniZincIDE/project.cpp:478–488  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

476}
477
478QStringList Project::getFiles(NodeType type) const
479{
480 QStringList ret;
481 for (auto it = entries.begin(); it != entries.end(); it++) {
482 auto t = static_cast<NodeType>(it.value()->data(Role::Type).toInt());
483 if (t == type) {
484 ret << it.key();
485 }
486 }
487 return ret;
488}
489
490QString Project::relativeToProject(const QString& fileName)
491{

Callers

nothing calls this directly

Calls 3

beginMethod · 0.45
endMethod · 0.45
valueMethod · 0.45

Tested by

no test coverage detected