MCPcopy Create free account
hub / github.com/OpenDDS/OpenDDS / set_string

Method set_string

dds/DCPS/ConfigStoreImpl.cpp:429–445  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

427}
428
429void
430ConfigStoreImpl::set_string(const char* key,
431 const char* value)
432{
433 const ConfigPair cp(key, value);
434 const bool log_info = log_level >= LogLevel::Info || debug_logging;
435 if (log_info) {
436 ACE_DEBUG((LM_INFO, "(%P|%t) INFO: ConfigStoreImpl::set_string: %C=%C\n",
437 cp.key().c_str(),
438 cp.value().c_str()));
439 }
440 if (config_writer_->write(cp) && !log_info && log_changes) {
441 ACE_DEBUG((LM_DEBUG, "(%P|%t) ConfigStoreImpl::set_string: %C=%C\n",
442 cp.key().c_str(),
443 cp.value().c_str()));
444 }
445}
446
447char*
448ConfigStoreImpl::get_string(const char* key,

Callers 4

parse_argsMethod · 0.45
set_default_discoveryMethod · 0.45
testConfigStoreMethod · 0.45

Calls 3

keyMethod · 0.45
valueMethod · 0.45
writeMethod · 0.45

Tested by 1

testConfigStoreMethod · 0.36