#include <HanConfig.h>
Definition at line 86 of file HanConfig.h.
◆ RefWriter()
Definition at line 417 of file HanConfig.cxx.
421{
422}
DatabaseConfig & m_databaseConfig
◆ Write()
Implements dqi::MiniConfigTreeNode::Writer.
Definition at line 426 of file HanConfig.cxx.
428{
429 std::string
database = node->GetAttribute(
"database");
430
431 if(database != "") {
435
436 if(jsonPayload.find(reference) != jsonPayload.end()) {
437 nlohmann::json referenceJson = jsonPayload[std::move(reference)];
438 for (nlohmann::json::iterator it = referenceJson.begin(); it != referenceJson.end(); ++it) {
439 node->SetAttribute(
it.key(),
it.value(),
false);
440 }
441 } else {
442 std::cerr <<
"Unable to find reference definition in database: " <<
reference <<
'\n';
443 }
444 }
445}
◆ m_bulk
| const bool dqi::HanConfig::RefWriter::m_bulk {} |
|
protected |
◆ m_databaseConfig
The documentation for this class was generated from the following files: