Expression& Expression::operator=(const Expression& copy) { if (© != this) internalCopy(copy); return *this; }
SamHeaderRecord* SamHeaderPG::createCopy() const { SamHeaderPG* newPG = new SamHeaderPG(); if(newPG == NULL) { std::cerr << "Failed to create a copy of an PG Header Record\n" ; return(NULL); } internalCopy(*newPG); return(newPG); }
SamHeaderRecord* SamHeaderHD ::createCopy() const { SamHeaderHD* newHD = new SamHeaderHD(); if(newHD == NULL) { std::cerr << "Failed to create a copy of an HD Header Record\n" ; return(NULL); } internalCopy(*newHD); return(newHD); }
GenericObject& GenericObject::operator =(const GenericObject& obj) { internalCopy(obj); return *this; }
GenericObject::GenericObject(const GenericObject &obj) { internalCopy(obj); }
Expression::Expression(const Expression& copy) { evalType = nullptr; internalCopy(copy); }