Program: gdcm
Module: $RCSfile: gdcmDicomDirSerie.h,v $
Language: C++
- Date: $Date: 2005/09/02 07:10:03 $
- Version: $Revision: 1.29 $
+ Date: $Date: 2005/11/29 12:48:46 $
+ Version: $Revision: 1.32 $
Copyright (c) CREATIS (Centre de Recherche et d'Applications en Traitement de
l'Image). All rights reserved. See Doc/License.txt or
*/
class GDCM_EXPORT DicomDirSerie : public DicomDirObject
{
+ gdcmTypeMacro(DicomDirSerie);
+
public:
- DicomDirSerie(bool empty=false);
- ~DicomDirSerie();
+/// \brief Constructs a DicomDirSerie with a RefCounter
+ 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 );
DicomDirImage *GetFirstImage();
DicomDirImage *GetNextImage();
-private:
+ virtual void Copy(DocEntrySet *set);
+protected:
+ DicomDirSerie(bool empty=false);
+ ~DicomDirSerie();
+
+private:
///chained list of DicomDirImages (to be exploited recursively)
ListDicomDirImage Images;
/// iterator on the DicomDirImages of the current DicomDirSerie