60 CdbUrlSave *cdburls = findNode::getClass<CdbUrlSave>(runNode,
"CdbUrl");
65 runNode->addNode(newNode);
69 std::set<std::tuple<std::string, std::string, uint64_t>> tmp_set;
70 for (
const auto &cdburl : *cdburls)
72 tmp_set.insert(cdburl);
78 if (tmp_set.find(*itr) != tmp_set.end())
82 std::cout <<
PHWHERE <<
" removing already saved: domain " << std::get<0>(*itr)
83 <<
", url: " << std::get<1>(*itr)
84 <<
", timestamp: " << std::get<2>(*itr) << std::endl;
110 std::cout <<
"domain: " << std::get<0>(iter)
111 <<
", url: " << std::get<1>(iter)
112 <<
", timestamp: " << std::get<2>(iter) << std::endl;
121 std::cout <<
PHWHERE <<
"CDB_GLOBALTAG flag needs to be set via" << std::endl;
122 std::cout <<
"rc->set_StringFlag(\"CDB_GLOBALTAG\",<global tag>)" << std::endl;
127 std::cout <<
PHWHERE <<
"TIMESTAMP flag needs to be set via" << std::endl;
128 std::cout <<
"rc->set_uint64Flag(\"TIMESTAMP\",<64 bit timestamp>)" << std::endl;
138 std::cout <<
"Global Tag: " << rc->
get_StringFlag(
"CDB_GLOBALTAG")
139 <<
", domain: " << domain
145 if (return_url.empty())
147 std::cout <<
"... reply: no file found" << std::endl;
151 std::cout <<
"... reply: " << return_url << std::endl;
154 if (return_url.empty())
161 std::cout <<
PHWHERE <<
"not adding again " << domain <<
", url: " << return_url
162 <<
", time stamp: " << timestamp << std::endl;