17 if (
size > N_PRIORITIES) std::cerr
18 <<
"setPriorities >> number of priorities too high: " <<
size << std::endl;
19 for (
unsigned int i=0;
i<
size;
i++) m_Priorities.at(
i) =
p[
i];
24 if (
vec.size() > N_PRIORITIES) std::cerr
25 <<
"setPriorities >> number of priorities too high: " <<
vec.size() << std::endl;
26 for (
unsigned int i=0;
i<
vec.size(); ++
i) m_Priorities.at(
i) =
vec[
i];
32 cout <<
indent <<
"PrioritySet " <<
name() << endl;
33 cout <<
indent <<
"lvl1MasterTableId: " << lvl1MasterTableId() << endl;
34 unsigned int ctpid(0);
35 for(
const string&
priority: m_Priorities)
36 cout <<
"\t " << ctpid++ <<
"\t" <<
" priority = " <<
priority << endl;
46 indent(xmlfile, indentLevel, indentWidth)
47 <<
"<PrioritySet name=\"" <<
name() <<
"\" version=\"" <<
version() <<
"\">"
49 unsigned int ctpid(0);
50 for(
const string&
priority : m_Priorities) {
51 indent(xmlfile, indentLevel + 1, indentWidth)
52 <<
"<Priority ctpid=\"" << ctpid++
53 <<
"\" priority=\"" <<
priority <<
"\">"
54 <<
priority <<
"</Priority>" << endl;
56 indent(xmlfile, indentLevel, indentWidth)
57 <<
"</PrioritySet>" << endl;