00001 /*========================================================================= 00002 00003 Program: gdcm 00004 Module: $RCSfile: gdcmValidator.h,v $ 00005 Language: C++ 00006 Date: $Date: 2007/08/22 16:14:05 $ 00007 Version: $Revision: 1.7 $ 00008 00009 Copyright (c) CREATIS (Centre de Recherche et d'Applications en Traitement de 00010 l'Image). All rights reserved. See Doc/License.txt or 00011 http://www.creatis.insa-lyon.fr/Public/Gdcm/License.html for details. 00012 00013 This software is distributed WITHOUT ANY WARRANTY; without even 00014 the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR 00015 PURPOSE. See the above copyright notices for more information. 00016 00017 =========================================================================*/ 00018 00019 #ifndef _GDCMVALIDATOR_H_ 00020 #define _GDCMVALIDATOR_H_ 00021 00022 #include "gdcmRefCounter.h" 00023 00024 namespace GDCM_NAME_SPACE 00025 { 00029 class ElementSet; 00030 class GDCM_EXPORT Validator : public RefCounter 00031 { 00032 gdcmTypeMacro(Validator); 00033 00034 public: 00035 00037 static Validator *New() {return new Validator();} 00038 void SetInput(ElementSet *input); 00039 00040 protected: 00041 Validator(); 00042 ~Validator(); 00043 }; 00044 00045 } // end namespace gdcm 00046 00047 //----------------------------------------------------------------------------- 00048 #endif