Program: gdcm
Module: $RCSfile: gdcmDicomDirStudy.h,v $
Language: C++
- Date: $Date: 2005/09/02 07:10:03 $
- Version: $Revision: 1.29 $
+ Date: $Date: 2005/11/21 09:46:25 $
+ Version: $Revision: 1.31 $
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 DicomDirStudy : public DicomDirObject
{
+ gdcmTypeMacro(DicomDirStudy);
+
public:
- DicomDirStudy(bool empty=false);
- ~DicomDirStudy();
+/// \brief Constructs a DicomDirStudy with a RefCounter
+ static DicomDirStudy *New(bool empty=false) {return new DicomDirStudy(empty);}
void Print(std::ostream &os = std::cout, std::string const &indent = "" );
void WriteContent(std::ofstream *fp, FileType t);
DicomDirStudyComponent *GetNextStudyComponent();
DicomDirStudyComponent *GetLastStudyComponent();
*/
-private:
+protected:
+ DicomDirStudy(bool empty=false);
+ ~DicomDirStudy();
+
+private:
/// chained list of DicomDirSeries (to be exploited hierarchicaly)
ListDicomDirSerie Series;
/// iterator on the DicomDirSeries of the current DicomDirStudy