-/**
- * \brief Constructor Parses recursively the directory and creates the DicomDir
- * or uses an already built DICOMDIR, depending on 'parseDir' value.
- * @param fileName name
- * - of the root directory (parseDir = true)
- * - of the DICOMDIR (parseDir = false)
- * @param parseDir boolean
- * - true if user passed an entry point
- * and wants to explore recursively the directories
- * - false if user passed an already built DICOMDIR file
- * and wants to use it
- * @deprecated use : new DicomDir() + [ SetLoadMode(lm) + ] SetDirectoryName(name)
- * or : new DicomDir() + SetFileName(name)
- */
-#ifndef GDCM_LEGACY_REMOVE
-DicomDir::DicomDir(std::string const &fileName, bool parseDir ):
- Document( )
-{
- // At this step, Document constructor is already executed,
- // whatever user passed (either a root directory or a DICOMDIR)
- // and whatever the value of parseDir was.
- // (nothing is cheked in Document constructor, to avoid overhead)
-
- ParseDir = parseDir;
- SetLoadMode (0x00000000); // concerns only dicom files
- Load( fileName );
-}
-#endif
-