]> Creatis software - gdcm.git/blob - src/gdcmValidator.h
Fix mistypings
[gdcm.git] / src / gdcmValidator.h
1 /*=========================================================================
2  
3   Program:   gdcm
4   Module:    $RCSfile: gdcmValidator.h,v $
5   Language:  C++
6   Date:      $Date: 2007/08/22 16:14:05 $
7   Version:   $Revision: 1.7 $
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_NAME_SPACE
25 {
26 /**
27  * \brief Class to perform some verifications on a gdcm::Document
28  */
29 class ElementSet;
30 class GDCM_EXPORT Validator : public RefCounter
31 {
32    gdcmTypeMacro(Validator);
33    
34 public:
35
36 /// \brief Constructs a Validator with a RefCounter
37    static Validator *New() {return new Validator();}
38    void SetInput(ElementSet *input);
39
40 protected:
41    Validator();
42    ~Validator();
43 };
44
45 } // end namespace gdcm
46
47 //-----------------------------------------------------------------------------
48 #endif