]> Creatis software - gdcm.git/blob - src/gdcmDicomDirPrivate.h
In order to allow to use current version (1.3) of gdcm *and* ITK (that includes
[gdcm.git] / src / gdcmDicomDirPrivate.h
1 /*=========================================================================
2                                                                                 
3   Program:   gdcm
4   Module:    $RCSfile: gdcmDicomDirPrivate.h,v $
5   Language:  C++
6   Date:      $Date: 2007/05/23 14:18:08 $
7   Version:   $Revision: 1.2 $
8                                                                                 
9   Copyright (c) CREATIS (Centre de Recherche et d'Applications en Traitement de
10   l'Image). All rights reserved. See Doc/License.txt or
11   http://www.creatis.insa-lyon.fr/Public/Gdcm/License.html for details.
12                                                                                 
13      This software is distributed WITHOUT ANY WARRANTY; without even
14      the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
15      PURPOSE.  See the above copyright notices for more information.
16                                                                                 
17 =========================================================================*/
18
19 #ifndef GDCMDICOMDIRPRIVATE_H
20 #define GDCMDICOMDIRPRIVATE_H
21
22 #include "gdcmDicomDirObject.h"
23
24 namespace GDCM_NAME_SPACE 
25 {
26
27 /**
28  * \brief   describes a PRIVATE  within a within a SERIE
29  * (DicomDirSerie) of a given DICOMDIR (DicomDir)
30  */
31 class GDCM_EXPORT DicomDirPrivate : public DicomDirObject 
32 {
33    gdcmTypeMacro(DicomDirPrivate);
34
35 public:
36 /// \brief Constructs a DicomDirPrivate with a RefCounter
37    static DicomDirPrivate *New(bool empty=false) {return new DicomDirPrivate(empty);}
38
39    void Print( std::ostream &os = std::cout, std::string const &indent = "" );
40   // void WriteContent( std::ofstream *fp, FileType t );
41
42 protected:
43    DicomDirPrivate(bool empty=false); 
44    ~DicomDirPrivate();
45 };
46 } // end namespace gdcm
47 //-----------------------------------------------------------------------------
48 #endif