Functions | |
uint8 * | fillNames (const Strings &names, uint8 *pos) |
void | getNames (uint8 *from, uint32 from_len, Strings &to) |
Definition at line 75 of file MsgTools.h.
References lhef::cc::convert(), edm::copy_all(), first, and pos.
Referenced by InitMsgBuilder::InitMsgBuilder(), and ConsRegResponseBuilder::setStreamSelectionTable().
{ uint32 sz = names.size(); convert(sz,pos); // save number of strings uint8* len_pos = pos + sizeof(char_uint32); // area for length pos = len_pos + sizeof(char_uint32); // area for full string of names bool first = true; for(Strings::const_iterator beg = names.begin(); beg != names.end(); ++beg) { if(first) first = false; else *pos++ = ' '; pos = edm::copy_all(*beg,pos); } convert((uint32)(pos-len_pos-sizeof(char_uint32)),len_pos); return pos; }
Definition at line 91 of file MsgTools.h.
References filterCSVwithJSON::copy.
Referenced by ConsRegResponseView::getStreamSelectionTable(), InitMsgView::hltTriggerNames(), InitMsgView::hltTriggerSelections(), and InitMsgView::l1TriggerNames().