//-------------------------------------------------------------------------
bool LabelSet::operator==(const LabelSet& s)
{
  if (_beginVect != s._beginVect || _endVect != s._endVect)
    return false;
  assert(_nameVect.size() == s._nameVect.size());
  for (unsigned long i=0; i<_nameVect.size(); i++)
  {
    if (getName(i) != s.getName(i))
      return false;
  }
  return true;
}
//-------------------------------------------------------------------------
LabelSet::LabelSet(const LabelSet& s)
:Object(), _beginVect(s._beginVect), _endVect(s._endVect)
{
  for (unsigned long i=0; i<s._nameVect.size(); i++)
  { _nameVect.addObject(s.getName(i).duplicate()); }
}