MCPcopy Create free account
hub / github.com/MITK/MITK / GetInternalRevisions

Method GetInternalRevisions

Modules/CEST/src/mitkCustomTagParser.cpp:511–524  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

509}
510
511std::vector<int> mitk::CustomTagParser::GetInternalRevisions()
512{
513 const std::vector<us::ModuleResource> configs =
514 us::GetModuleContext()->GetModule()->FindResources("/", "*.json", false);
515
516 std::vector<int> availableRevisionsVector;
517
518 for (const auto& resource : configs)
519 {
520 availableRevisionsVector.push_back(std::stoi(resource.GetBaseName()));
521 }
522
523 return availableRevisionsVector;
524}
525
526std::vector<int> mitk::CustomTagParser::GetExternalRevisions()
527{

Callers

nothing calls this directly

Calls 4

GetModuleContextFunction · 0.85
FindResourcesMethod · 0.80
GetBaseNameMethod · 0.80
GetModuleMethod · 0.45

Tested by

no test coverage detected