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