X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=src%2FgdcmValidator.h;h=a5930876783620418bf20b8ee6fc48cd544aa3e1;hb=f215c25069021e599c885489388965b2c1b43f78;hp=0c50eaaaa307bc08cc99c486080e5f64467247f0;hpb=8ea92706ea6ef5e97c3cdca1daa41c9a3063bd7a;p=gdcm.git diff --git a/src/gdcmValidator.h b/src/gdcmValidator.h index 0c50eaaa..a5930876 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: 2005/11/28 16:31:24 $ + Version: $Revision: 1.5 $ Copyright (c) CREATIS (Centre de Recherche et d'Applications en Traitement de l'Image). All rights reserved. See Doc/License.txt or @@ -19,22 +19,27 @@ #ifndef GDCMVALIDATOR_H #define GDCMVALIDATOR_H -#include "gdcmBase.h" +#include "gdcmRefCounter.h" namespace gdcm { /** - * \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