X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=src%2FgdcmDicomDirSerie.cxx;h=22f4b4d43ef63c539432154fa012416bc8c0b279;hb=3fd520b58c8d1939994de2c63cc038c3e7ac9522;hp=146d1c06ee771e0454d45450c2ac5823073fec1a;hpb=49c0af19f5bf0f2402d37d8abf7fb139e7453245;p=gdcm.git diff --git a/src/gdcmDicomDirSerie.cxx b/src/gdcmDicomDirSerie.cxx index 146d1c06..22f4b4d4 100644 --- a/src/gdcmDicomDirSerie.cxx +++ b/src/gdcmDicomDirSerie.cxx @@ -3,8 +3,8 @@ Program: gdcm Module: $RCSfile: gdcmDicomDirSerie.cxx,v $ Language: C++ - Date: $Date: 2004/08/01 00:59:21 $ - Version: $Revision: 1.12 $ + Date: $Date: 2004/08/26 15:29:52 $ + Version: $Revision: 1.13 $ Copyright (c) CREATIS (Centre de Recherche et d'Applications en Traitement de l'Image). All rights reserved. See Doc/License.txt or @@ -78,6 +78,21 @@ void gdcmDicomDirSerie::Print(std::ostream &os) //----------------------------------------------------------------------------- // Public + +/** + * \brief Writes the Object + * @return + */ +void gdcmDicomDirSerie::Write(FILE *fp, FileType t) +{ + gdcmObject::Write(fp, t); + + for(ListDicomDirImage::iterator cc = images.begin();cc!=images.end();++cc) + { + (*cc)->Write( fp, t ); + } +} + /** * \brief adds a new Image (with the basic elements) to a partially created DICOMDIR */