- bool SetPubElValByName (std::string content, std::string tagName);
- bool SetPubElValByNumber(std::string content, guint16 group, guint16 element);
- bool SetPubElValLengthByNumber(guint32 lgr, guint16 group, guint16 element);
-
- inline ListTag & GetPubListElem(void) { return PubElValSet.GetListElem();};
- inline TagElValueHT & GetPubElVal(void) { return PubElValSet.GetTagHt(); };
-
- void PrintPubElVal(std::ostream & os = std::cout);
- void PrintPubDict (std::ostream & os = std::cout);
-
-// Element value
- std::string GetElValByName (std::string tagName);
- std::string GetElValRepByName (std::string tagName);
- std::string GetElValByNumber (guint16 group, guint16 element);
- std::string GetElValRepByNumber(guint16 group, guint16 element);
-
- bool SetElValueByName(std::string content,std::string tagName);
-// bool SetElValueByNumber(std::string content,guint16 group, guint16 element);
-
-// inline ListTag & GetListElem(void) { return PubElValSet.GetListElem();};
-// inline TagElValueHT & GetElVal(void) { return PubElValSet.GetTagHt(); };
-
-// 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::GrPixel
+ guint16 GetGrPixel(void) {return GrPixel;}
+
+ /// 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)