]> Creatis software - gdcm.git/blobdiff - src/gdcmVR.h
Track troubles on Big endian processors
[gdcm.git] / src / gdcmVR.h
index 7a2af7b5b5c5cdfafd8d35b948222ff337233d37..745797a2b7d040929d333d841323e059b4649da8 100644 (file)
@@ -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 <map>
@@ -39,14 +39,15 @@ typedef std::map<VRKey, VRAtr> 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); };