]> Creatis software - gdcm.git/blobdiff - src/gdcmDicomDirSerie.h
Fix mistypings
[gdcm.git] / src / gdcmDicomDirSerie.h
index ddbc51af4de9cd573b0b2615391d1c0550286552..13065eb476200cff5cf9102d692955ce62ef94e2 100644 (file)
@@ -3,8 +3,8 @@
   Program:   gdcm
   Module:    $RCSfile: gdcmDicomDirSerie.h,v $
   Language:  C++
-  Date:      $Date: 2007/03/23 15:30:15 $
-  Version:   $Revision: 1.33 $
+  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"
 
-namespace gdcm 
+namespace GDCM_NAME_SPACE 
 {
 class DicomDirImage;
 class DicomDirPrivate;
@@ -43,7 +43,8 @@ public:
    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();
@@ -53,7 +54,9 @@ public:
 
    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
@@ -62,7 +65,8 @@ public:
 
    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);