18 copy( sequenceList.begin(), sequenceList.end(), std::inserter(*
this,
begin()));
31 if(sequence==0)
return;
32 pair<iterator, bool> ins = insert(sequence);
34 throw runtime_error(
"Can't insert sequence '" + sequence->
name() +
"', because a uniqueness constraint is violated");
40 return getSequence(
name)!=0;
47 index<seq_hash_id>::type::const_iterator
seq = byid.find(
id);
48 if(
seq == byid.end())
return 0;
55 index<seq_name_hash>::type::const_iterator
seq = byname.find(
name);
56 if(
seq == byname.end())
return 0;
64 index<seq_hash_id>::type::const_iterator
seq = byid.find(
id);
65 if(
seq != byid.end()) {
66 label = (*seq)->name();
78 index<seq_name_hash>::type::const_iterator
seq = byname.find(
label);
79 if(
seq != byname.end()) {
80 id = (*seq)->hashId();
94 ds->addSub(
seq->compareTo(o_seq) );
96 ds->addLeftOnlySub(
"SEQUENCE",
seq->name() );
102 ds->addRightOnlySub(
"SEQUENCE", o_seq->name() );
114 cout <<
indent <<
"HLTSequenceList has " <<
size() <<
" sequences" << endl;
116 cout <<
indent <<
"--------------------------------------------------------------------------------" << endl;
119 cout <<
indent <<
"================================================================================" << endl;
126 o <<
"- -- HLTSequenceList printout ------------------------------ " << std::endl;
128 o <<
"- ---------------------------------------------------------- " << std::endl;