X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;ds=inline;f=src%2FgdcmHeader.h;h=7decd1219d30b16b5f5b5aba7a91cef5d8f8003f;hb=49484255e3674c038cbf2259a8c3325c0039cd41;hp=9f3603e966570ed0e5353566764a4944929a170d;hpb=54ce6e928bccc91bb12601c782b92c833678de40;p=gdcm.git diff --git a/src/gdcmHeader.h b/src/gdcmHeader.h index 9f3603e9..7decd121 100644 --- a/src/gdcmHeader.h +++ b/src/gdcmHeader.h @@ -19,6 +19,8 @@ typedef std::map VRHT; // Value Representation Hash Table //----------------------------------------------------------------------------- /* + * \defgroup gdcmHedaer + * \brief * The purpose of an instance of gdcmHeader is to act as a container of * all the DICOM elements and their corresponding values (and * additionaly the corresponding DICOM dictionary entry) of the header @@ -105,7 +107,7 @@ public: bool SetPubEntryLengthByNumber(guint32 lgr, guint16 group, guint16 element); inline ListTag & GetPubListEntry(void) { return PubEntrySet.GetListEntry();}; - inline TagHeaderEntryHT & GetPubEntry(void) { return PubEntrySet.GetTagHT(); }; + inline TagHeaderEntryHT & GetPubEntry(void) { return PubEntrySet.GetTagHT(); }; void PrintPubEntry(std::ostream & os = std::cout); void PrintPubDict (std::ostream & os = std::cout); @@ -119,8 +121,8 @@ public: bool SetEntryByName(std::string content,std::string tagName); // bool SetEntryByNumber(std::string content,guint16 group, guint16 element); -// inline ListTag & GetListElem(void) { return PubHeaderEntrySet.GetListElem();}; -// inline TagHeaderEntryHT & GetElVal(void) { return PubHeaderEntrySet.GetTagHt(); }; +// inline ListTag & GetListEntry(void) { return PubHeaderEntrySet.GetListElem();}; +// inline TagHeaderEntryHT & GetListEntry(void) { return PubHeaderEntrySet.GetTagHt(); }; // Read (used in gdcmFile) FILE *OpenFile(bool exception_on_error = false) throw(gdcmFileError); @@ -220,6 +222,7 @@ private: std::string filename; int enableSequences; + int wasUpdated; // true if a gdcmHeaderEntry was added post parsing // FIXME sw should be an enum e.g. //enum EndianType {