RefTargetHandle SelectByChannel::Clone(RemapDir& remap) { SelectByChannel* newmod = new SelectByChannel(); newmod->ReplaceReference(PBLOCK_REF,remap.CloneRef(pblock)); BaseClone(this, newmod, remap); return(newmod); }
RefTargetHandle SelectByChannel::Clone(RemapDir& remap) { SelectByChannel* newmod = new SelectByChannel(); //TODO: Add the cloning code here newmod->ReplaceReference(PBLOCK_REF,pblock->Clone(remap)); BaseClone(this, newmod, remap); return(newmod); }