- gdcmDicomDirPatient(ListTag::iterator begin,ListTag::iterator end);
- ~gdcmDicomDirPatient(void);
+/// \brief Constructs a DicomDirPatient with a RefCounter
+ static DicomDirPatient *New(bool empty=false) {return new DicomDirPatient(empty);}
+
+ void Print(std::ostream &os = std::cout, std::string const &indent = "" );
+ void WriteContent(std::ofstream *fp, FileType t, bool insideMetaElements, bool insideSequence );
+
+ // Patient methods
+ /// \brief Adds a new gdcm::DicomDirStudy to the Patient
+ void AddStudy(DicomDirStudy *obj) { Studies.push_back(obj); }
+ DicomDirStudy *NewStudy();
+ void ClearStudy();
+
+ DicomDirStudy *GetFirstStudy();
+ DicomDirStudy *GetNextStudy();
+ DicomDirStudy *GetLastStudy();
+ /// returns the number of Studies currently held in the gdcm::DicomDirPatient
+ int GetNumberOfStudies() { return Studies.size();}
+ virtual void Copy(DocEntrySet *set);