ComparatorLibs: Add stringify to hierarchy for easy printing
This commit is contained in:
+15
-2
@@ -50,8 +50,21 @@ BodyViralPostingInvoker<void> Body::initializeCReq()
|
||||
*/
|
||||
mind.bodyComponentInitialized = true;
|
||||
|
||||
std::cout << stim_buff::StimBuffApiManager::getInstance().stringifyLibs()
|
||||
<< std::endl;
|
||||
const std::string comparatorLibs =
|
||||
comparator_lib::ComparatorApiManager::getInstance().stringifyLibs();
|
||||
const std::string stimBuffLibs =
|
||||
stim_buff::StimBuffApiManager::getInstance().stringifyLibs();
|
||||
|
||||
if (!comparatorLibs.empty()) {
|
||||
std::cout << comparatorLibs;
|
||||
}
|
||||
if (!comparatorLibs.empty() && !stimBuffLibs.empty()) {
|
||||
std::cout << '\n';
|
||||
}
|
||||
if (!stimBuffLibs.empty()) {
|
||||
std::cout << stimBuffLibs;
|
||||
}
|
||||
std::cout << std::endl;
|
||||
|
||||
if (OptionParser::getOptions().verbose)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user