void KVRList::Copy(TObject & obj) const #else void KVRList::Copy(TObject & obj) #endif { // //Copy this list to obj //As a KVRList is a list of references to objects, here we are simply //copying the references, i.e. no new objects are created // obj.Clear(); if (this->GetSize()) //make sure list contains some objects { for (Int_t i = 0; i < this->GetSize(); i++) { ((KVRList &) obj).Add(this->At(i)); } } }