]> Creatis software - gdcm.git/blob - src/gdcmValidator.h
Validator uses RefCounter.
[gdcm.git] / src / gdcmValidator.h
1 /*=========================================================================
2  
3   Program:   gdcm
4   Module:    $RCSfile: gdcmValidator.h,v $
5   Language:  C++
6   Date:      $Date: 2005/11/18 11:07:53 $
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 GDCMVALIDATOR_H
20 #define GDCMVALIDATOR_H
21
22 #include "gdcmRefCounter.h"
23
24 namespace gdcm 
25 {
26 /**
27  * \brief
28  */
29 class ElementSet;
30 class GDCM_EXPORT Validator : public RefCounter
31 {
32    gdcmTypeMacro(Validator);
33    
34 public:
35    static Validator *New() {return new Validator();}
36    void SetInput(ElementSet *input);
37
38 protected:
39    Validator();
40    ~Validator();
41 };
42
43 } // end namespace gdcm
44
45 //-----------------------------------------------------------------------------
46 #endif