I wonder if its possible to copy an attribute from tag A to tag B - without handling the value representation of the tag. To be me more precise: I want to copy a tag, now matter if it holds a string or a sequence or a number. It seems that this is part of something I'm looking for:
Code: Select all
DcmDataSet::findAndGetElement(const DcmTagKey & tagKey, DcmElement *& element)
But I can't see any pendent giving me the possibilty to set a DcmElement. I miss something like :
Code: Select all
DcmDataSet::putElement(const DcmTagKey & tagKey, const DcmElement & element)
Moreover, DcmDataSet::insert(...) does not give me the possibility to set the target tag. Does anybody know a solution?