ComparatorLibs: Add stringify to hierarchy for easy printing

This commit is contained in:
2026-06-10 22:43:39 -04:00
parent 549f0c04f4
commit 82b99e680c
10 changed files with 91 additions and 7 deletions
@@ -42,6 +42,15 @@ public:
comparatorLibDesc = desc;
}
std::string stringify() const
{
std::string result = "Library Path: "
+ loadedSharedLibrary->libraryPath + "\n";
result += "Comparator Library Descriptor: "
+ comparatorLibDesc.stringify();
return result;
}
public:
std::shared_ptr<loadable_lib::LoadableLibraryManager::LoadedSharedLibrary>
loadedSharedLibrary;