X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=src%2FgdcmValidator.h;h=e63b1e9362eb7776f2e7ca80ad327645f628eb88;hb=f3252c8bfb8ee8d4a7bf5f896a919f601a5fd9f7;hp=0c50eaaaa307bc08cc99c486080e5f64467247f0;hpb=8ea92706ea6ef5e97c3cdca1daa41c9a3063bd7a;p=gdcm.git diff --git a/src/gdcmValidator.h b/src/gdcmValidator.h index 0c50eaaa..e63b1e93 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/05/23 14:18:12 $ + Version: $Revision: 1.6 $ 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 +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