X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=src%2FgdcmDicomDirMeta.h;h=ddeca2534c18372011e97033a96170caa6000609;hb=8ba6105c39056bba295025f4b46d2cdf24dab792;hp=c343719326881ffbf2b82b8e4ef8938f452246cb;hpb=55d77e0913ff360d639af1841c70d14dc8687584;p=gdcm.git diff --git a/src/gdcmDicomDirMeta.h b/src/gdcmDicomDirMeta.h index c3437193..ddeca253 100644 --- a/src/gdcmDicomDirMeta.h +++ b/src/gdcmDicomDirMeta.h @@ -1,21 +1,42 @@ -// gdcmDicomDirMeta.h -//----------------------------------------------------------------------------- +/*========================================================================= + + Program: gdcm + Module: $RCSfile: gdcmDicomDirMeta.h,v $ + Language: C++ + Date: $Date: 2005/02/01 13:11:49 $ + Version: $Revision: 1.18 $ + + Copyright (c) CREATIS (Centre de Recherche et d'Applications en Traitement de + l'Image). All rights reserved. See Doc/License.txt or + http://www.creatis.insa-lyon.fr/Public/Gdcm/License.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 notices for more information. + +=========================================================================*/ + #ifndef GDCMDICOMDIRMETA_H #define GDCMDICOMDIRMETA_H -#include "gdcmObject.h" +#include "gdcmDicomDirObject.h" + +namespace gdcm +{ //----------------------------------------------------------------------------- -class GDCM_EXPORT gdcmDicomDirMeta : public gdcmObject +/** + * \brief Meta Elements (group 0002) of a DicomDir + */ +class GDCM_EXPORT DicomDirMeta : public DicomDirObject { public: - gdcmDicomDirMeta(ListTag::iterator begin,ListTag::iterator end, - TagHeaderEntryHT *ptagHT, ListTag *plistEntries); - - ~gdcmDicomDirMeta(void); + DicomDirMeta(bool empty=false); + ~DicomDirMeta(); - virtual void Print(std::ostream &os = std::cout); + virtual void Print(std::ostream &os = std::cout, std::string const &indent = "" ); + virtual void WriteContent(std::ofstream *fp, FileType t); }; - +} // end namespace gdcm //----------------------------------------------------------------------------- #endif