X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=src%2FgdcmVR.h;h=745797a2b7d040929d333d841323e059b4649da8;hb=82afaad85d04083d5d7945e2a70a79a720a9ba3a;hp=7a2af7b5b5c5cdfafd8d35b948222ff337233d37;hpb=6b51b22366f878e1050c75a6ebb755bd2ff365c7;p=gdcm.git diff --git a/src/gdcmVR.h b/src/gdcmVR.h index 7a2af7b5..745797a2 100644 --- a/src/gdcmVR.h +++ b/src/gdcmVR.h @@ -3,8 +3,8 @@ Program: gdcm Module: $RCSfile: gdcmVR.h,v $ Language: C++ - Date: $Date: 2005/10/25 14:52:35 $ - Version: $Revision: 1.25 $ + Date: $Date: 2005/11/28 15:20:34 $ + Version: $Revision: 1.27 $ Copyright (c) CREATIS (Centre de Recherche et d'Applications en Traitement de l'Image). All rights reserved. See Doc/License.txt or @@ -19,7 +19,7 @@ #ifndef GDCMVR_H #define GDCMVR_H -#include "gdcmRefCounter.h" +#include "gdcmCommandManager.h" #include "gdcmVRKey.h" #include @@ -39,14 +39,15 @@ typedef std::map VRHT; * \brief Container for dicom Value Representation Hash Table * \note This is a singleton */ -class GDCM_EXPORT VR : public RefCounter +class GDCM_EXPORT VR : public CommandManager { gdcmTypeMacro(VR); public: static VR *New() {return new VR();} - void Print(std::ostream &os = std::cout); + virtual void Print(std::ostream &os = std::cout, + std::string const &indent = "" ); /// \brief Get the count for an element int Count(VRKey const &key) { return vr.count(key); };