2 #include <SimoxUtility/algorithm/vector.hpp>
13 const std::string& prefix)
15 if (not defs->hasDefinition(prefix +
"packageName"))
18 prefix +
"packageName",
19 "The name of the prior knowledge data package.");
33 if (std::filesystem::is_regular_file(absPath))
39 for (
const auto& d : std::filesystem::directory_iterator(absPath))
41 std::string k = d.path().filename();
47 if (not this->
check(d.path()))
65 return this->
accept(absPath);
68 std::optional<PKFinderInfo>
73 if (this->
check(absPath))
81 std::vector<PKFinderInfo>
85 if (std::filesystem::is_regular_file(absPath))
91 std::vector<PKFinderInfo>
ret;
92 for (
const auto& d : std::filesystem::directory_iterator(absPath))
94 std::string k = d.path().filename();
100 auto el = this->
find(k);