MCPcopy Create free account
hub / github.com/Xtra-Computing/thundersvm / setGlobally

Method setGlobally

src/thundersvm/util/log.cpp:478–488  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

476 }
477
478 void Configurations::setGlobally(ConfigurationType configurationType, const std::string& value,
479 bool includeGlobalLevel) {
480 if (includeGlobalLevel) {
481 set(Level::Global, configurationType, value);
482 }
483 base::type::EnumType lIndex = LevelHelper::kMinValid;
484 LevelHelper::forEachLevel(&lIndex, [&](void) -> bool {
485 set(LevelHelper::castFromInt(lIndex), configurationType, value);
486 return false; // Do not break lambda function yet as we need to set all levels regardless
487 });
488 }
489
490 void Configurations::unsafeSetGlobally(ConfigurationType configurationType, const std::string& value,
491 bool includeGlobalLevel) {

Callers 2

StorageMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected