]> Creatis software - gdcm.git/blobdiff - src/gdcmValidator.h
new one
[gdcm.git] / src / gdcmValidator.h
index 0c50eaaaa307bc08cc99c486080e5f64467247f0..9366f62a5160f70920d99167465be90ce0f1975c 100644 (file)
@@ -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
  
 =========================================================================*/
 
-#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