X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=src%2FgdcmDicomDirElement.cxx;h=a8309d84a87bb7bcf2b1bde63a90709cdce289b0;hb=08cdfc6e4424703b99bae0121f682d2a8db4ac9f;hp=d7197ce969d1ef5a049b2d74c8848047d2172df2;hpb=22f785a2627d1e7823701193bd7624739a3e033b;p=gdcm.git diff --git a/src/gdcmDicomDirElement.cxx b/src/gdcmDicomDirElement.cxx index d7197ce9..a8309d84 100644 --- a/src/gdcmDicomDirElement.cxx +++ b/src/gdcmDicomDirElement.cxx @@ -2,29 +2,32 @@ //----------------------------------------------------------------------------- #include #include // For sprintf +#include +#ifdef GDCM_NO_ANSI_STRING_STREAM +# include +# define ostringstream ostrstream +# else +# include +#endif #include "gdcmDicomDirElement.h" #include "gdcmUtil.h" +#include "gdcmDebug.h" +#include "gdcmDictSet.h" #ifndef PUB_DICT_PATH # define PUB_DICT_PATH "../Dicts/" #endif #define DICT_ELEM "DicomDir.dic" -#include -#ifdef GDCM_NO_ANSI_STRING_STREAM -# include -# define ostringstream ostrstream -# else -# include -#endif //----------------------------------------------------------------------------- // Constructor / Destructor /** * \ingroup gdcmDicomDirElement - * \brief constructor + * \brief constructor : populates the chained lists + * from the file 'Dicts/DicomDir.dic' */ gdcmDicomDirElement::gdcmDicomDirElement(void) { std::string filename=gdcmDictSet::BuildDictPath() + std::string(DICT_ELEM); @@ -70,7 +73,7 @@ /** * \ingroup gdcmDicomDirElement - * \brief destructor + * \brief canonical destructor */ gdcmDicomDirElement::~gdcmDicomDirElement() { DicomDirMetaList.clear();