void popcon::displayHelper | ( | Container const & | payloads | ) |
Definition at line 98 of file PopCon.h.
Referenced by popcon::PopCon::write().
{ typename Container::const_iterator it; for (it = payloads.begin(); it != payloads.end(); it++) edm::LogInfo ("PopCon")<< "Since " << (*it).time << std::endl; }
const std::string popcon::displayIovHelper | ( | Container const & | payloads | ) |
Definition at line 106 of file PopCon.h.
References alignCSCRings::s, and cond::rpcobgas::time.
Referenced by popcon::PopCon::write().
{ if (payloads.empty()) return "Nothing to transfer;"; std::ostringstream s; // when only 1 payload is transferred; if ( payloads.size()==1) s <<"Since " << (*payloads.begin()).time << "; " ; else{ // when more than one payload are transferred; s << "first payload Since " << (*payloads.begin()).time << "," << "last payload Since " << (*payloads.rbegin()).time << ";" ; } return s.str(); }