Program: gdcm
Module: $RCSfile: gdcmDicomDir.cxx,v $
Language: C++
- Date: $Date: 2005/08/30 14:40:33 $
- Version: $Revision: 1.156 $
+ Date: $Date: 2005/08/31 16:24:19 $
+ Version: $Revision: 1.159 $
Copyright (c) CREATIS (Centre de Recherche et d'Applications en Traitement de
l'Image). All rights reserved. See Doc/License.txt or
// (nothing is cheked in Document constructor, to avoid overhead)
ParseDir = parseDir;
- SetLoadMode (GDCM_LD_ALL); // concerns only dicom files
+ SetLoadMode (LD_ALL); // concerns only dicom files
SetFileName( fileName );
Load( );
}
}
/// DEPRECATED : use SetDirectoryName(dname) instead
+/**
+ * \brief Loader. (DEPRECATED : kept not to break the API)
+ * @param paseDir Parse Dir
+ * @deprecated use SetDirectoryName(dname) instead
+ */
void DicomDir::SetParseDir(bool parseDir)
{
ParseDir = parseDir;
* @return false only when fail to open
*/
-bool DicomDir::WriteDicomDir(std::string const &fileName)
+bool DicomDir::Write(std::string const &fileName)
{
int i;
uint16_t sq[4] = { 0x0004, 0x1220, 0xffff, 0xffff };
* @return true
*/
-bool DicomDir::AnonymizeDicomDir()
+bool DicomDir::Anonymize()
{
ValEntry *v;
// Something clever to be found to forge the Patient names