Program: gdcm
Module: $RCSfile: gdcmDicomDirSerie.h,v $
Language: C++
- Date: $Date: 2007/05/23 14:18:08 $
- Version: $Revision: 1.34 $
+ Date: $Date: 2007/08/29 15:30:49 $
+ Version: $Revision: 1.38 $
Copyright (c) CREATIS (Centre de Recherche et d'Applications en Traitement de
l'Image). All rights reserved. See Doc/License.txt or
=========================================================================*/
-#ifndef GDCMDICOMDIRSERIE_H
-#define GDCMDICOMDIRSERIE_H
+#ifndef _GDCMDICOMDIRSERIE_H_
+#define _GDCMDICOMDIRSERIE_H_
#include "gdcmDicomDirObject.h"
static DicomDirSerie *New(bool empty=false) {return new DicomDirSerie(empty);}
void Print( std::ostream &os = std::cout, std::string const &indent = "" );
- void WriteContent( std::ofstream *fp, FileType t );
+ void WriteContent( std::ofstream *fp, FileType t, bool insideMetaElements,
+ bool insideSequence );
// 'Image' methods
DicomDirImage *NewImage();
DicomDirImage *GetFirstImage();
DicomDirImage *GetNextImage();
-
+ /// returns the number of Images currently held in the gdcm::DicomDirSerie
+ int GetNumberOfImages() { return Images.size();}
+
// 'Private' methods (For SIEMENS 'CSA non image')
DicomDirPrivate *NewPrivate();
/// Add a new gdcm::DicomDirPrivate to the Serie
DicomDirPrivate *GetFirstPrivate();
DicomDirPrivate *GetNextPrivate();
-
+ /// returns the number of 'Privates' currently held in the gdcm::DicomDirSerie
+ int GetNumberOfPrivates() { return Privates.size();}
virtual void Copy(DocEntrySet *set);