-/**
- * \brief Constructor (DEPRECATED : not to break the API)
- * @param fileName 'Document' (File or DicomDir) to be open for parsing
- */
-Document::Document( std::string const &fileName )
- :ElementSet(-1)
-{
- Fp = 0;
-
- SetMaxSizeLoadEntry(MAX_SIZE_LOAD_ELEMENT_VALUE);
- Initialize();
- SwapCode = 1234;
- Filetype = ExplicitVR;
- Group0002Parsed = false;
- LoadMode = LD_ALL; // Load everything, later
-
- // Load will set it to true if sucessfull
- IsDocumentAlreadyLoaded = false;
- IsDocumentModified = true;
-
- SetFileName(fileName);
- Load( );
-}