Program: gdcm
Module: $RCSfile: gdcmDicomDirStudy.cxx,v $
Language: C++
- Date: $Date: 2004/08/01 00:59:21 $
- Version: $Revision: 1.8 $
+ Date: $Date: 2004/08/26 15:29:52 $
+ Version: $Revision: 1.10 $
Copyright (c) CREATIS (Centre de Recherche et d'Applications en Traitement de
l'Image). All rights reserved. See Doc/License.txt or
*/
void gdcmDicomDirStudy::Print(std::ostream &os)
{
- os<<"STUDY"<<std::endl;
+ os << "STUDY" << std::endl;
gdcmObject::Print(os);
for(ListDicomDirSerie::iterator cc = series.begin();
//-----------------------------------------------------------------------------
// Public
+/**
+ * \brief Writes the Object
+ * @return
+ */
+void gdcmDicomDirStudy::Write(FILE *fp, FileType t)
+{
+ gdcmObject::Write(fp, t);
+
+ for(ListDicomDirSerie::iterator cc = series.begin();cc!=series.end();++cc)
+ {
+ (*cc)->Write( fp, t );
+ }
+}
+
/**
* \ingroup gdcmDicomStudy
* \brief adds a new Serie at the begining of the SerieList