17 if (
vec.size() > N_PRIORITIES) std::cerr
18 <<
"setPriorities >> number of priorities too high: " <<
vec.size() << std::endl;
19 for (
unsigned int i=0;
i<
vec.size(); ++
i) m_Priorities.at(
i) =
vec[
i];
25 cout <<
indent <<
"PrioritySet " <<
name() << endl;
26 cout <<
indent <<
"lvl1MasterTableId: " << lvl1MasterTableId() << endl;
27 unsigned int ctpid(0);
28 for(
const string&
priority: m_Priorities)
29 cout <<
"\t " << ctpid++ <<
"\t" <<
" priority = " <<
priority << endl;
39 indent(xmlfile, indentLevel, indentWidth)
40 <<
"<PrioritySet name=\"" <<
name() <<
"\" version=\"" <<
version() <<
"\">"
42 unsigned int ctpid(0);
43 for(
const string&
priority : m_Priorities) {
44 indent(xmlfile, indentLevel + 1, indentWidth)
45 <<
"<Priority ctpid=\"" << ctpid++
46 <<
"\" priority=\"" <<
priority <<
"\">"
47 <<
priority <<
"</Priority>" << endl;
49 indent(xmlfile, indentLevel, indentWidth)
50 <<
"</PrioritySet>" << endl;