X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=src%2FgdcmParser.h;h=9841aa80014b704c71e0fbaa2357be27c9c62715;hb=e785350bf905bcac85e241f9cf9f07d03eae345d;hp=be88d134b5a3972431a1267aad015bc3440a2351;hpb=cc3e689024eb9b36d9d8db4f977fd04512282a48;p=gdcm.git diff --git a/src/gdcmParser.h b/src/gdcmParser.h index be88d134..9841aa80 100644 --- a/src/gdcmParser.h +++ b/src/gdcmParser.h @@ -49,6 +49,7 @@ public: * \note 0 for Light Print; 1 for 'medium' Print, 2 for Heavy */ void SetPrintLevel(int level) { printLevel = level; }; + virtual void Print (std::ostream &os = std::cout) {PrintEntry(os);}; virtual void PrintEntry (std::ostream &os = std::cout); virtual void PrintPubDict (std::ostream &os = std::cout); virtual void PrintShaDict (std::ostream &os = std::cout); @@ -116,7 +117,7 @@ protected: virtual bool SetEntryByName (std::string content, std::string tagName); virtual bool SetEntryByNumber(std::string content, guint16 group, guint16 element); - virtual bool SetEntryLengthByNumber(guint32 l, guint16 group, guint16 element); + virtual bool SetEntryLengthByNumber(guint32 length, guint16 group, guint16 element); virtual size_t GetEntryOffsetByNumber (guint16 Group, guint16 Elem); virtual void *GetEntryVoidAreaByNumber(guint16 Group, guint16 Elem);