X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;ds=sidebyside;f=src%2FgdcmHeaderEntry.h;h=20e23cebfe424a3b0c4de7e036b38624590caaa2;hb=873781d43a11ff95abe24564a3cee43a7d76a723;hp=01f2bc74548bb6979c72ff1c33699478bf4eef17;hpb=65467b71ee500909b0ef7c31d442ca0c160d6a15;p=gdcm.git diff --git a/src/gdcmHeaderEntry.h b/src/gdcmHeaderEntry.h index 01f2bc74..20e23ceb 100644 --- a/src/gdcmHeaderEntry.h +++ b/src/gdcmHeaderEntry.h @@ -52,27 +52,21 @@ public: * \ingroup gdcmHeaderEntry * \brief Sets to TRUE the ImplicitVr flag of the current Dicom Element */ - inline void gdcmHeaderEntry::SetImplicitVr(void) { - ImplicitVr = true; - }; + inline void gdcmHeaderEntry::SetImplicitVR(void) { ImplicitVR = true; }; /** * \ingroup gdcmHeaderEntry * \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 gdcmHeaderEntry::IsImplicitVr(void) { - return ImplicitVr; - }; + inline bool gdcmHeaderEntry::IsImplicitVR(void) { return ImplicitVR; }; /** * \ingroup gdcmHeaderEntry * \brief tells us if the VR of the current Dicom Element is Unkonwn * @return true if the VR is unkonwn */ - inline bool gdcmHeaderEntry::IsVRUnknown(void) { - return entry->IsVRUnknown(); - }; + inline bool gdcmHeaderEntry::IsVRUnknown(void) { return entry->IsVRUnknown(); }; /** * \ingroup gdcmHeaderEntry @@ -88,17 +82,15 @@ public: * \brief Gets the DicEntry of the current Dicom Element * @return the DicEntry of the current Dicom Element */ - gdcmDictEntry * gdcmHeaderEntry::GetDictEntry(void) { - return entry; - }; + gdcmDictEntry * gdcmHeaderEntry::GetDictEntry(void) { return entry; }; /** * \ingroup gdcmHeaderEntry * \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; }; - void Print (std::ostream & os = std::cout); + void SetPrintLevel(int level) { printLevel = level; }; + void Print (std::ostream & os = std::cout); private: // FIXME: In fact we should be more specific and use : @@ -119,7 +111,7 @@ private: // going on. // *for internal* use only - bool ImplicitVr; // Even when reading explicit vr files, some + bool ImplicitVR; // Even when reading explicit vr files, some // elements happen to be implicit. Flag them here // since we can't use the entry->vr without breaking // the underlying dictionary.