X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;ds=inline;f=src%2FgdcmObject.h;h=2d49cf3b2be7928478c39e79d13f4813ec0298a8;hb=9b3db5f141ec2b11eadefaa2ea2a3a20058b37f9;hp=f236d5915ccabffb8924963a07f0774c03e53e18;hpb=55d77e0913ff360d639af1841c70d14dc8687584;p=gdcm.git diff --git a/src/gdcmObject.h b/src/gdcmObject.h index f236d591..2d49cf3b 100644 --- a/src/gdcmObject.h +++ b/src/gdcmObject.h @@ -30,6 +30,8 @@ public: TagHeaderEntryHT GetEntry(void); ListTag GetListEntry(void); + + void ResetBoundaries(int flag); /** * \ingroup gdcmObject * \brief returns an iterator on the first Header Entry (i.e Dicom Element), @@ -48,6 +50,18 @@ public: */ ListTag::iterator fin (void) { return(endObj); } + +/** + * \ingroup gdcmObject + * \brief Sets the iterator on the 'new' last Header Entry (i.e Dicom Element), + * inside the DICOMDIR chained list, + * related to this 'Object' + * \warning : NOT end user intended function + * \todo find a trick to make this function useless. +* @return + */ + ListTag::iterator SetEndObj(ListTag::iterator newEnd) + { endObj=newEnd; } protected: