]> Creatis software - gdcm.git/blob - src/gdcmDicomDirVisit.h
Fix mistypings
[gdcm.git] / src / gdcmDicomDirVisit.h
1 /*=========================================================================
2                                                                                 
3   Program:   gdcm
4   Module:    $RCSfile: gdcmDicomDirVisit.h,v $
5   Language:  C++
6   Date:      $Date: 2007/08/22 16:14:03 $
7   Version:   $Revision: 1.6 $
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 _GDCMDICOMDIRVISIT_H_
20 #define _GDCMDICOMDIRVISIT_H_
21
22 #include "gdcmDicomDirObject.h"
23
24 namespace GDCM_NAME_SPACE 
25 {
26
27 /**
28  * \brief   describes a VISIT  within a within a STUDY
29  * (DicomDirStudy) of a given DICOMDIR (DicomDir)
30  */
31 class GDCM_EXPORT DicomDirVisit : public DicomDirObject 
32 {
33    gdcmTypeMacro(DicomDirVisit);
34
35 public:
36 /// \brief Constructs a DicomDirVisit with a RefCounter
37    static DicomDirVisit *New(bool empty=false) {return new DicomDirVisit(empty);}
38
39    void Print( std::ostream &os = std::cout, std::string const &indent = "" );
40
41 protected:
42    DicomDirVisit(bool empty=false); 
43    ~DicomDirVisit();
44 };
45 } // end namespace gdcm
46 //-----------------------------------------------------------------------------
47 #endif