gdcmValidate.h
Go to the documentation of this file.
/*=========================================================================
Program: GDCM (Grassroots DICOM). A DICOM library
Copyright (c) 2006-2011 Mathieu Malaterre
All rights reserved.
See Copyright.txt or http://gdcm.sourceforge.net/Copyright.html for details.
This software is distributed WITHOUT ANY WARRANTY; without even
the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
PURPOSE. See the above copyright notice for more information.
=========================================================================*/
#ifndef GDCMVALIDATE_H
#define GDCMVALIDATE_H
#include "gdcmFile.h"
namespace gdcm
{
class GDCM_EXPORT Validate
{
public:
Validate();
~Validate();
void SetFile(File const &f) { F = &f; }
const File& GetValidatedFile() { return V; }
void Validation();
protected:
const File *F;
File V; // Validated file
};
} // end namespace gdcm
#endif //GDCMVALIDATE_H
gdcm::File
a DICOM File
Definition gdcmFile.h:34
gdcm::Validate::~Validate
~Validate()
gdcm::Validate::F
const File * F
Definition gdcmValidate.h:37
gdcm::Validate::V
File V
Definition gdcmValidate.h:38
gdcm::Validate::GetValidatedFile
const File & GetValidatedFile()
Definition gdcmValidate.h:32
gdcm::Validate::Validation
void Validation()
gdcm::Validate::Validate
Validate()
gdcm::Validate::SetFile
void SetFile(File const &f)
Definition gdcmValidate.h:31
gdcmFile.h
GDCM_EXPORT
#define GDCM_EXPORT
Definition gdcmWin32.h:34
gdcm
Definition gdcmASN1.h:21