X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=src%2FgdcmHeader.h;h=3d8564140d646e4667f2b6484dabee3427d903b1;hb=279aed8cb3483318205a8b652e05457a7fc94dec;hp=a2cece0a3ab1de669679b7222290e4d725e37e68;hpb=4f48626ba6d2dc26d40f07b780b0fdb5fcc04911;p=gdcm.git diff --git a/src/gdcmHeader.h b/src/gdcmHeader.h index a2cece0a..3d856414 100644 --- a/src/gdcmHeader.h +++ b/src/gdcmHeader.h @@ -45,6 +45,7 @@ protected: /// the image itself. Hence the tag (GrPixel,NumPixel) might appear /// several times. countGrPixel is the number of occurences of the /// tag of pixels (i.e. (GrPixel,NumPixel)) contained in the header. + /// TODO : will be dealt with SQ tree-like stucture int countGrPixel; public: gdcmHeader(bool exception_on_error = false); @@ -105,6 +106,9 @@ public: // Entry +// These functions are necessary for Python because +// there are protected in the parent class + inline virtual std::string GetEntryByNumber (guint16 group, guint16 element) { return(gdcmParser::GetEntryByNumber(group,element)); } @@ -140,8 +144,11 @@ public: bool operator<(gdcmHeader &header); bool WriteEntry(gdcmHeaderEntry *tag,FILE *_fp,FileType type); - - + + + virtual void PrintEntryNoSQ (std::ostream &os = std::cout); + virtual void PrintEntryNiceSQ(std::ostream &os = std::cout); + protected: //CLEANME int write(std::ostream&); //CLEANME int anonymize(std::ostream&);//FIXME: anonymize should be a friend