X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=src%2FgdcmDicomDirPatient.h;h=f4cc06e8837e380e1ff1db4c839f998d274278bc;hb=ecac4d36edf15736ae8f516ef3f9d8a6396ed54c;hp=3569e5055a7a131210b7e83a866feb4a9aec4c52;hpb=55d77e0913ff360d639af1841c70d14dc8687584;p=gdcm.git diff --git a/src/gdcmDicomDirPatient.h b/src/gdcmDicomDirPatient.h index 3569e505..f4cc06e8 100644 --- a/src/gdcmDicomDirPatient.h +++ b/src/gdcmDicomDirPatient.h @@ -1,46 +1,53 @@ -// gdcmDicomDirPatient.h -//----------------------------------------------------------------------------- +/*========================================================================= + + Program: gdcm + Module: $RCSfile: gdcmDicomDirPatient.h,v $ + Language: C++ + Date: $Date: 2004/08/01 02:39:09 $ + Version: $Revision: 1.6 $ + + 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.htm 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 GDCMPATIENT_H #define GDCMPATIENT_H #include "gdcmObject.h" #include "gdcmDicomDirStudy.h" - +#include "gdcmSQItem.h" //----------------------------------------------------------------------------- -typedef std::list ListDicomDirStudy; +typedef std::list ListDicomDirStudy; //----------------------------------------------------------------------------- class GDCM_EXPORT gdcmDicomDirPatient : public gdcmObject { public: - gdcmDicomDirPatient(ListTag::iterator begin,ListTag::iterator end, - TagHeaderEntryHT *ptagHT, ListTag *plistEntries); - ~gdcmDicomDirPatient(void); + gdcmDicomDirPatient(gdcmSQItem *s, TagDocEntryHT *ptagHT); + gdcmDicomDirPatient(TagDocEntryHT *ptagHT); + + ~gdcmDicomDirPatient(); virtual void Print(std::ostream &os = std::cout); -/** - * \ingroup gdcmDicomDirPatient - * \brief returns the STUDY chained List for this PATIENT. - */ - inline ListDicomDirStudy &GetDicomDirStudies() - {return studies;}; -/** - * \ingroup gdcmDicomDirPatient - * \brief adds the passed STUDY to the STUDY chained List for this PATIENT. - */ - inline void AddDicomDirStudy(gdcmDicomDirStudy *obj) - {studies.push_back(obj);}; -/** - * \ingroup gdcmDicomDirPatient - * \brief TODO - */ - gdcmDicomDirStudy* NewStudy(void); + + /// Returns the STUDY chained List for this PATIENT. + ListDicomDirStudy &GetDicomDirStudies() { return studies; }; + + /// adds the passed STUDY to the STUDY chained List for this PATIENT. + void AddDicomDirStudy(gdcmDicomDirStudy *obj) { studies.push_back(obj); }; + + /// TODO + gdcmDicomDirStudy* NewStudy(); private: -/** -* \brief chained list of DicomDirStudy -*/ + /// chained list of DicomDirStudy ListDicomDirStudy studies; };