Program: gdcm
Module: $RCSfile: gdcmDicomDir.cxx,v $
Language: C++
- Date: $Date: 2007/05/23 14:18:08 $
- Version: $Revision: 1.193 $
+ Date: $Date: 2007/09/17 12:21:56 $
+ Version: $Revision: 1.196 $
Copyright (c) CREATIS (Centre de Recherche et d'Applications en Traitement de
l'Image). All rights reserved. See Doc/License.txt or
binary_write( *fp, "DICM");
DicomDirMeta *ptrMeta = GetMeta();
- ptrMeta->WriteContent(fp, ExplicitVR);
+ ptrMeta->WriteContent(fp, ExplicitVR, true, false);
// force writing 0004|1220 [SQ ], that CANNOT exist within DicomDirMeta
for(i=0;i<6;++i)
cc != Patients.end();
++cc )
{
- (*cc)->WriteContent( fp, ExplicitVR );
+ (*cc)->WriteContent( fp, ExplicitVR, false, true );
}
// force writing Sequence Delimitation Item
gdcmErrorMacro( "Add PatientToEnd failed");
}
}
- /// \to do : deal with PRIVATE (not so easy, since PRIVATE appears
+ /// \todo : deal with PRIVATE (not so easy, since PRIVATE appears
/// at different levels ?!? )
else if ( v == "PRIVATE " ) // for SIEMENS 'CSA Non Image'