Program: gdcm
Module: $RCSfile: gdcmHeader.h,v $
Language: C++
- Date: $Date: 2004/11/26 10:55:04 $
- Version: $Revision: 1.95 $
+ Date: $Date: 2005/01/11 23:06:35 $
+ Version: $Revision: 1.100 $
Copyright (c) CREATIS (Centre de Recherche et d'Applications en Traitement de
l'Image). All rights reserved. See Doc/License.txt or
#ifndef GDCMHEADER_H
#define GDCMHEADER_H
-#include "gdcmCommon.h"
#include "gdcmDocument.h"
namespace gdcm
{
-//-----------------------------------------------------------------------------
-/**
- * \brief
- * The purpose of an instance of Header is to act as a container of
- * all the DICOM elements and their corresponding values (and
- * additionaly the corresponding DICOM dictionary entry) of the header
- * of a DICOM file.
- *
- * The typical usage of instances of class Header is to classify a set of
- * dicom files according to header information e.g. to create a file hierarchy
- * reflecting the Patient/Study/Serie informations, or extracting a given
- * SerieId. Accessing the content (image[s] or volume[s]) is beyond the
- * functionality of this class and belongs to gdmcFile.
- * \note The various entries of the explicit value representation (VR) shall
- * be managed within a dictionary which is shared by all Header
- * instances.
- * \note The Header::Set*Tag* family members cannot be defined as
- * protected due to Swig limitations for as Has_a dependency between
- * File and Header.
- */
//-----------------------------------------------------------------------------
// Dicom Part 3.3 Compliant
XA, // X-Ray Angiography
XC // Photographic Imaging
};
+
+//-----------------------------------------------------------------------------
+/**
+ * \brief DICOM elements and their corresponding values (and
+ * additionaly the corresponding DICOM dictionary entry) of the header
+ * of a DICOM file.
+ *
+ * The typical usage of instances of class Header is to classify a set of
+ * dicom files according to header information e.g. to create a file hierarchy
+ * reflecting the Patient/Study/Serie informations, or extracting a given
+ * SerieId. Accessing the content (image[s] or volume[s]) is beyond the
+ * functionality of this class and belongs to gdmcFile.
+ * \note The various entries of the explicit value representation (VR) shall
+ * be managed within a dictionary which is shared by all Header
+ * instances.
+ * \note The Header::Set*Tag* family members cannot be defined as
+ * protected due to Swig limitations for as Has_a dependency between
+ * File and Header.
+ */
+
//-----------------------------------------------------------------------------
class GDCM_EXPORT Header : public Document
public:
Header();
- Header( std::string const & filename );
+ Header( std::string const &filename );
~Header();
bool HasLUT();
int GetLUTNbits();
- /// Return the Transfer Syntax as a string
- std::string GetTransfertSyntaxName();
-
/// Accessor to \ref Header::GrPixel
uint16_t GetGrPixel() { return GrPixel; }