]> Creatis software - gdcm.git/blobdiff - src/gdcmVR.cxx
update CMakeLists
[gdcm.git] / src / gdcmVR.cxx
index f002d0a083aa98525580bd8c0f11e3dfcd0c720b..536aea3695acd93c8094f62f478bc1e74642b408 100644 (file)
@@ -1,13 +1,6 @@
 // gdcmVR.cxx
-#include <fstream>
 //-----------------------------------------------------------------------------
-#include "gdcmVR.h"
-#include "gdcmUtil.h"
-
-#ifndef PUB_DICT_PATH
-#  define PUB_DICT_PATH     "../Dicts/"
-#endif
-#define DICT_VR "dicomVR.dic"
+#include <fstream>
 
 #include <iostream>
 #ifdef GDCM_NO_ANSI_STRING_STREAM
 #  include <sstream>
 #endif
 
+#include "gdcmVR.h"
+#include "gdcmUtil.h"
+#include "gdcmDictSet.h"
+#include "gdcmDebug.h"
+
+#ifndef PUB_DICT_PATH
+#  define PUB_DICT_PATH     "../Dicts/"
+#endif
+#define DICT_VR "dicomVR.dic"
+
 //-----------------------------------------------------------------------------
-// Constructor / Destructor
+/**
+ * \brief Constructor
+ */
 gdcmVR::gdcmVR(void) 
 {
    std::string filename=gdcmDictSet::BuildDictPath() + std::string(DICT_VR);
@@ -49,6 +54,9 @@ gdcmVR::gdcmVR(void)
    from.close();
 }
 
+/**
+ * \brief Destructor
+ */
 gdcmVR::~gdcmVR() {
    vr.clear();
 }
@@ -76,7 +84,7 @@ void gdcmVR::Print(std::ostream &os)
 /**
  * \ingroup gdcmVR
  * \brief   Get the count for an element
- * @param   Key key to count
+ * @param   key key to count
  */
 int gdcmVR::Count(VRKey key) 
 {