SequenceSet::SequenceSet(const SeqEntryList& seqEntries) : status(CAV_SUCCESS), master(NULL) { SeqEntryList::const_iterator s, se = seqEntries.end(); for (s=seqEntries.begin(); s!=se; ++s) UnpackSeqEntry(s->GetObject()); ERR_POST_X(2, Info << "number of sequences: " << sequences.size()); }
SequenceSet::SequenceSet(StructureBase *parent, SeqEntryList& seqEntries) : StructureBase(parent) { SeqEntryList::iterator s, se = seqEntries.end(); for (s=seqEntries.begin(); s!=se; ++s) UnpackSeqEntry(s->GetObject(), this, sequences); TRACEMSG("number of sequences: " << sequences.size()); }