﻿id	summary	reporter	owner	description	type	status	priority	milestone	component	version	severity	resolution	keywords	cc
579	New function: psMetadataCopy	Paul Price	David.Robbins@…	"Adding a new function, at RHL's request.  I could put together a prototype, if
desired, but I think it's fairly straightforward.


There will be occasions when we want to perform a deep copy of a
\code{psMetadata}, for example, to generate a new and independent FITS
header.
\begin{prototype}
psMetadata *psMetadataCopy(psMetadata *out, const psMetadata *in);
\end{prototype}
\code{psMetadataCopy} shall create a new copy of all
\code{psMetadataItem}s in the \code{in} metadata, and place them in
the \code{out} metadata, or a new \code{psMetadata} if \code{out} is
\code{NULL}.  Now, it is not feasible (at this time) to be able to
copy every type that we might put on a \code{psMetadata}.  Therefore,
\code{psMetadataCopy} shall copy only the numerical types and strings.
Other pointer types may simply have the pointer copied (with the
reference counter incremented appropriately), with the total number of
such copies (if positive) reported in a warning at the end of the
function."	enhancement	closed	high		types	unspecified	minor	fixed		robert.desonia@… rhl@…
