#311 How to remove item in GDCM

2.4.3
closed
None
5
2014-06-13
2013-12-05
No

I am trying to remove complete branches (PATIENT, STUDY) from a DICOMDIR file.

Why does the class SequenceOfItems only has a "AddItem(item)" function and a "Clear()" function which removes all items, but no "RemoveItem(item)" function.

How do I remove items from a sequence? Is this possible at all? Is there an example for this somewhere?

Discussion

  • Mathieu Malaterre

    See:

    bool SequenceLengthField::RemoveItemByIndex( const SizeType position )

    [release fb34bb7] Allow removal of items should work since gdcm requires undefined length anyway
    2 files changed, 23 insertions(+), 1 deletion(-)

     
  • Mathieu Malaterre

    • status: open --> closed
    • Group: 2.4.1 --> 2.4.3
     

Log in to post a comment.

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks