Code Cleanup - obsolete code

- Removed obsolete T::removeAttributes.
- Removed obsolete T::sequenceContains.
- Modified handleInfo so it no longer uses T::sequenceContains, and
  instead uses filterSequence.
This commit is contained in:
Paul Beckingham
2009-05-23 18:30:51 -04:00
parent 8fa38fc4c3
commit 0eff6fa2b1
5 changed files with 218 additions and 231 deletions

View File

@@ -230,12 +230,6 @@ void T::setAttributes (const std::map <std::string, std::string>& attributes)
}
}
////////////////////////////////////////////////////////////////////////////////
void T::removeAttributes ()
{
mAttributes.clear ();
}
////////////////////////////////////////////////////////////////////////////////
void T::removeAttribute (const std::string& name)
{
@@ -290,16 +284,6 @@ void T::addAnnotation (const std::string& description)
mAnnotations[time (NULL)] = sanitized;
}
////////////////////////////////////////////////////////////////////////////////
bool T::sequenceContains (int id) const
{
foreach (seq, mSequence)
if (*seq == id)
return true;
return false;
}
////////////////////////////////////////////////////////////////////////////////
// uuid status [tags] [attributes] [annotations] description
//