- /**
- * \ingroup gdcmHeader
- * \brief Sets the print level for the Dicom Header
- * \note 0 for Light Print; 1 for 'heavy' Print
- */
- void SetPrintLevel(int level) { printLevel = level; };
-
- void PrintPubEntry(std::ostream & os = std::cout);
- void PrintPubDict (std::ostream & os = std::cout);
-
-// Element value
- std::string GetEntryByName (std::string tagName);
- std::string GetEntryVRByName (std::string tagName);
- std::string GetEntryByNumber (guint16 group, guint16 element);
- std::string GetEntryVRByNumber(guint16 group, guint16 element);
-
- bool SetEntryByName(std::string content,std::string tagName);
-// bool SetEntryByNumber(std::string content,guint16 group, guint16 element);
-
-
-// Read (used in gdcmFile)
- FILE *OpenFile(bool exception_on_error = false) throw(gdcmFileError);
- bool CloseFile(void);
- virtual void ParseHeader(bool exception_on_error = false) throw(gdcmFormatError);
-
-// Write (used in gdcmFile)
- bool Write(FILE *, FileType);
+ /// Accessor to \ref gdcmHeader::NumPixel
+ guint16 GetNumPixel(void) {return NumPixel;}
+
+// 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)); }
+
+ 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)); }
+
+ inline virtual bool SetEntryLengthByNumber(guint32 l,
+ guint16 group, guint16 element)
+ { return(gdcmParser::SetEntryLengthByNumber(l,group,element)); }
+
+ inline virtual void UpdateShaEntries(void)
+ { gdcmParser::UpdateShaEntries(); }
+
+ /// Read (used in gdcmFile)