]> Creatis software - gdcm.git/blobdiff - src/gdcmHeader.h
Now the tree-like structure describing a DICOMDIR comming from an already
[gdcm.git] / src / gdcmHeader.h
index 1859192261b322966aaab4c4189366ff1b06494e..3051124132dea94e2acc68cbc3728386e3bbd39b 100644 (file)
@@ -79,21 +79,43 @@ public:
    
    // TODO Swig int SetShaDict(std::string filename);
    // TODO Swig int SetPubDict(std::string filename);
+   
+// System access
+/**
+ * \ingroup gdcmHeader
+ * \brief   the Header Entry Group Number of the 'Pixel Group' 
+ *          is not allways 0x7fe0
+ * @return  GrPixel
+ */
+   guint16 GetGrPixel(void)  {return GrPixel;}
+/**
+ * \ingroup gdcmHeader
+ * \brief   the Header Entry Element Number of the 'Pixel Element' 
+ *          is not allways 0x0010
+ * @return  NumPixel
+ */
+    guint16 GetNumPixel(void) {return NumPixel;}   
 
 // Entry
 
    inline virtual std::string GetEntryByNumber  (guint16 group, guint16 element)
       { return(gdcmParser::GetEntryByNumber(group,element)); }
+      
    inline virtual std::string GetEntryVRByNumber(guint16 group, guint16 element)
       { return(gdcmParser::GetEntryVRByNumber(group,element)); }
       
+   inline virtual int GetEntryLengthByNumber(guint16 group, guint16 element)
+      { return(gdcmParser::GetEntryLengthByNumber(group,element)); }
+      
    inline virtual std::string GetEntryByName    (std::string tagName) 
       { return(gdcmParser::GetEntryByName(tagName)); }
+      
    inline virtual std::string GetEntryVRByName  (std::string tagName)
       { return(gdcmParser::GetEntryVRByName(tagName)); }
       
    inline virtual bool SetEntryByNumber(std::string content,guint16 group, guint16 element)
       { return(gdcmParser::SetEntryByNumber(content,group,element)); }
+      
    inline virtual bool SetEntryByName(std::string content,std::string tagName)
       { return(gdcmParser::SetEntryByName(content,tagName)); }