X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=src%2FgdcmDicomDirPatient.h;h=3569e5055a7a131210b7e83a866feb4a9aec4c52;hb=0aefbe64c65acfed527a7f18b352a2621f4bc92b;hp=2868f42a3aa8ecf7e578b1b8ad118d663572b535;hpb=22f785a2627d1e7823701193bd7624739a3e033b;p=gdcm.git diff --git a/src/gdcmDicomDirPatient.h b/src/gdcmDicomDirPatient.h index 2868f42a..3569e505 100644 --- a/src/gdcmDicomDirPatient.h +++ b/src/gdcmDicomDirPatient.h @@ -13,15 +13,34 @@ typedef std::list ListDicomDirStudy; class GDCM_EXPORT gdcmDicomDirPatient : public gdcmObject { public: - gdcmDicomDirPatient(ListTag::iterator begin,ListTag::iterator end); + gdcmDicomDirPatient(ListTag::iterator begin,ListTag::iterator end, + TagHeaderEntryHT *ptagHT, ListTag *plistEntries); ~gdcmDicomDirPatient(void); virtual void Print(std::ostream &os = std::cout); - - inline ListDicomDirStudy &GetDicomDirStudies() {return studies;}; - inline void AddDicomDirStudy(gdcmDicomDirStudy *obj) {studies.push_back(obj);}; - +/** + * \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); + private: + +/** +* \brief chained list of DicomDirStudy +*/ ListDicomDirStudy studies; };