X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;ds=sidebyside;f=src%2FgdcmSeqEntry.h;h=e29f3fef3d23e7adaa1e6c70e428e01eca0b4a2d;hb=fb7d3a50ec13feb8c4d9e05971580335eeace700;hp=a54e3b34ab1608e5d3d8a3357e8839e7c6653da1;hpb=17ebda2271dd65565f512e835546b22c22ebbbb0;p=gdcm.git diff --git a/src/gdcmSeqEntry.h b/src/gdcmSeqEntry.h index a54e3b34..e29f3fef 100644 --- a/src/gdcmSeqEntry.h +++ b/src/gdcmSeqEntry.h @@ -3,8 +3,8 @@ Program: gdcm Module: $RCSfile: gdcmSeqEntry.h,v $ Language: C++ - Date: $Date: 2006/04/11 16:03:26 $ - Version: $Revision: 1.41 $ + Date: $Date: 2007/08/29 15:30:50 $ + Version: $Revision: 1.46 $ Copyright (c) CREATIS (Centre de Recherche et d'Applications en Traitement de l'Image). All rights reserved. See Doc/License.txt or @@ -16,14 +16,14 @@ =========================================================================*/ -#ifndef GDCMSQDOCENTRY_H -#define GDCMSQDOCENTRY_H +#ifndef _GDCMSQDOCENTRY_H_ +#define _GDCMSQDOCENTRY_H_ #include "gdcmDocEntry.h" #include -namespace gdcm +namespace GDCM_NAME_SPACE { class SQItem; //----------------------------------------------------------------------------- @@ -46,12 +46,13 @@ public: //static SeqEntry *New(DictEntry *e) {return new SeqEntry(e);} /// \brief Contructs a SeqEntry with a RefCounter from DocEntry static SeqEntry *New(DocEntry *d, int depth) {return new SeqEntry(d,depth);} -/// \brief Contructs a SeqEntry with a RefCounter from elementary values - static SeqEntry *New(uint16_t group,uint16_t elem, VRKey const &vr = GDCM_VRUNKNOWN) +/// \brief Constructs a SeqEntry with a RefCounter from elementary values + static SeqEntry *New(uint16_t group,uint16_t elem/*, VRKey const &vr = GDCM_VRUNKNOWN*/) {return new SeqEntry(group,elem);} void Print(std::ostream &os = std::cout, std::string const &indent = "" ); - void WriteContent(std::ofstream *fp, FileType filetype); + void WriteContent(std::ofstream *fp, FileType filetype, + bool insideMetaElements, bool insideSequence); uint32_t ComputeFullLength(); void AddSQItem(SQItem *it, int itemNumber);