// 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);
from.close();
}
+/**
+ * \brief Destructor
+ */
gdcmVR::~gdcmVR() {
vr.clear();
}
/**
* \ingroup gdcmVR
* \brief Get the count for an element
- * @param Key key to count
+ * @param key key to count
*/
int gdcmVR::Count(VRKey key)
{