void TCadMultiLine::Streamer::Write(opstream& out) const { WriteBaseObject((TCadObjectBase*) this, out); out.writeWord32(GetObject()->points.size()); TPoints::size_type i=0; while (i<GetObject()->points.size()) out << GetObject()->points[i++]; }
void TermSet::Streamer::Write(opstream& out) const { out.writeWord32(GetObject()->size()); iterator i = GetObject()->begin(), e = GetObject()->end(); while (i!=e) { out << *i; i++; } }
void TCadGroup::Streamer::Write(opstream& out) const { WriteBaseObject((TCadObjectBase*) this, out); out.writeWord32(GetObject()->objects.size()); TCadObjectBasePtrVector::iterator i,e; for(i=GetObject()->objects.begin(), e=GetObject()->objects.end(); i!=e; i++) out << *(*i); }