X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=src%2FgdcmValidator.h;h=9366f62a5160f70920d99167465be90ce0f1975c;hb=76ac46b16fd92d0fb444f786d4946424d9029315;hp=0c50eaaaa307bc08cc99c486080e5f64467247f0;hpb=8ea92706ea6ef5e97c3cdca1daa41c9a3063bd7a;p=gdcm.git diff --git a/src/gdcmValidator.h b/src/gdcmValidator.h index 0c50eaaa..9366f62a 100644 --- a/src/gdcmValidator.h +++ b/src/gdcmValidator.h @@ -3,8 +3,8 @@ Program: gdcm Module: $RCSfile: gdcmValidator.h,v $ Language: C++ - Date: $Date: 2005/06/14 20:33:54 $ - Version: $Revision: 1.1 $ + Date: $Date: 2007/08/22 16:14:05 $ + Version: $Revision: 1.7 $ Copyright (c) CREATIS (Centre de Recherche et d'Applications en Traitement de l'Image). All rights reserved. See Doc/License.txt or @@ -16,25 +16,30 @@ =========================================================================*/ -#ifndef GDCMVALIDATOR_H -#define GDCMVALIDATOR_H +#ifndef _GDCMVALIDATOR_H_ +#define _GDCMVALIDATOR_H_ -#include "gdcmBase.h" +#include "gdcmRefCounter.h" -namespace gdcm +namespace GDCM_NAME_SPACE { /** - * \brief + * \brief Class to perform some verifications on a gdcm::Document */ class ElementSet; -class GDCM_EXPORT Validator : public Base +class GDCM_EXPORT Validator : public RefCounter { + gdcmTypeMacro(Validator); + public: - Validator(); - ~Validator(); +/// \brief Constructs a Validator with a RefCounter + static Validator *New() {return new Validator();} void SetInput(ElementSet *input); +protected: + Validator(); + ~Validator(); }; } // end namespace gdcm