AAO DRAMA C++ Interface (Old style)
DRAMA C++, Depreciated, don't use for new code

◆ ShallowCopy() [1/2]

void SdsId::ShallowCopy ( const SdsIdType  source,
const bool  free = false,
const bool  del = false,
const bool  readfree = false 
)
inline

Shallow copy from SdsIdType.


Copy an SdsIdType item into this object. The existing SDS ID refered to by this object is first tidied up correctly.
After the copy, both the source and this object refer to the same SDS structure. The caller must indicate who has responsibility for cleaning up by setting appropiate flags.

See also
SdsId::DeepCopy
Parameters
sourceThe Sds object to copy.
freeIf set true, this object will free the SDS id when it is destroyed.
delIf set true, this object will delete the underlying SDS object when it is destroyed.
readfreeIf set true, this object will call SdsReadFree() when the object is destroyed.