MCPcopy Create free account
hub / github.com/NVIDIA-RTX/Donut / GetAvailableScenes

Method GetAvailableScenes

src/app/MediaFileSystem.cpp:81–93  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

79}
80
81std::vector<std::string> MediaFileSystem::GetAvailableScenes() const
82{
83 std::unordered_set<std::string> resultSet;
84 for (auto fs : m_FileSystems)
85 {
86 if (auto scenes = FindScenes(*fs, "/"); !scenes.empty())
87 resultSet.insert(scenes.begin(), scenes.end());
88 }
89
90 std::vector result(resultSet.begin(), resultSet.end());
91 std::sort(result.begin(), result.end());
92 return result;
93}
94
95// file system virtual overrides
96

Callers

nothing calls this directly

Calls 3

emptyMethod · 0.45
beginMethod · 0.45
endMethod · 0.45

Tested by

no test coverage detected