17#ifndef __file_dicom_tree_h__
18#define __file_dicom_tree_h__
33 void read (
const std::string& filename);
34 std::shared_ptr<Patient>
find (
const std::string& patient_name,
const std::string& patient_ID,
35 const std::string& patient_DOB);
39 for (
auto patient : *
this) {
41 for (
auto study : *patient)
void read_file(const std::string &filename)
void read_dir(const std::string &filename, ProgressBar &progress)
std::shared_ptr< Patient > find(const std::string &patient_name, const std::string &patient_ID, const std::string &patient_DOB)
void read(const std::string &filename)
implements a progress meter to provide feedback to the user
std::ostream & operator<<(std::ostream &stream, const Patient &item)