- /// \brief Tells us if the current Dicom Element was checked as ImplicitVr
- /// @return true if the current Dicom Element was checked as ImplicitVr
- inline bool gdcmDocEntry::IsImplicitVR(void) { return ImplicitVR; };
-
- /// \brief Tells us if the VR of the current Dicom Element is Unknown
- /// @return true if the VR is unkonwn
- inline bool gdcmDocEntry::IsVRUnknown(void)
- { return entry->IsVRUnknown(); };
-
- /// \brief Sets the DicEntry of the current Dicom Element
- /// @param NewEntry pointer to the DictEntry
- inline void gdcmDocEntry::SetDictEntry(gdcmDictEntry *NewEntry)
- { entry = NewEntry; };
-
- /// \brief Gets the DicEntry of the current Dicom Element
- /// @return The DicEntry of the current Dicom Element
- gdcmDictEntry * gdcmDocEntry::GetDictEntry(void) { return entry; };
-
- /// \brief Sets the print level for the Dicom Header Elements
- /// \note 0 for Light Print; 1 for 'medium' Print, 2 for Heavy
- void SetPrintLevel(int level) { printLevel = level; };
-
- /// \brief Gets the print level for the Dicom Header Elements
- int GetPrintLevel(void) { return(printLevel); };
-
- virtual void Print (std::ostream & os = std::cout);
-
- void gdcmDocEntry::PrintCommonPart(std::ostream & os);
-
- guint32 GetFullLength(void);
-
- void Copy(gdcmDocEntry *doc);
-
- bool isItemDelimitor();
- bool isSequenceDelimitor();
-
- /// \brief Gets the depth level of a Dicom header entry embedded in
- /// a SeQuence
- inline int GetDepthLevel(void) {return(SQDepthLevel);}
-
- /// \brief Sets the depth level of a Dicom header entry embedded in
- /// a SeQuence
- inline void SetDepthLevel(int depth) {SQDepthLevel = depth;}
-
-private:
- // FIXME: In fact we should be more specific and use :
- // friend gdcmDocEntry * gdcmHeader::ReadNextElement(void);
- friend class gdcmHeader;
+ /// \brief Tells us if the current Dicom entry was checked as ImplicitVr
+ /// @return true if the current Dicom entry was checked as ImplicitVr
+ bool IsImplicitVR() const { return ImplicitVR; }
+
+ /// \brief Tells us if the VR of the current Dicom entry is Unknown
+ /// @return true if the VR is unknown
+ bool IsVRUnknown() const { return DicomDict->IsVRUnknown(); }
+
+ /// \brief Tells us if the VM of the current Dicom entry is Unknown
+ /// @return true if the VM is unknown
+ bool IsVMUnknown() const { return DicomDict->IsVMUnknown(); }
+
+ bool IsItemDelimitor();
+ bool IsItemStarter();
+ bool IsSequenceDelimitor();
+
+ virtual void Copy(DocEntry *doc);