plastimatch
Loading...
Searching...
No Matches
xio_dir.h
Go to the documentation of this file.
1/* -----------------------------------------------------------------------
2 See COPYRIGHT.TXT and LICENSE.TXT for copyright and license information
3 ----------------------------------------------------------------------- */
4#ifndef _xio_dir_h
5#define _xio_dir_h
6
7#include "plmbase_config.h"
8#include <vector>
9
10class Xio_patient;
11struct Xio_studyset_dir;
12struct Xio_plan_dir;
13
14/* This class represents the input directory, which could be a
15 patient directory, plan directory, or even a directory which
16 contains multiple patients */
18public:
19 std::string path;
20 std::vector<Xio_patient*> patient_dir;
21public:
22 Xio_dir (const char *input_dir);
23 ~Xio_dir ();
24 void analyze ();
25 void analyze_recursive (std::string dir);
26 Xio_patient* add_patient_dir (std::string dir);
27 int num_patients () const;
28public:
29 static int is_xio_patient_dir (std::string dir);
30 static int is_xio_studyset_dir (std::string dir);
31 static int is_xio_plan_dir (const std::string& dir);
32};
33
35
36PLMBASE_API std::string
37xio_plan_dir_get_studyset_dir (const std::string& xtpd);
38
39#endif
Definition xio_dir.h:17
std::vector< Xio_patient * > patient_dir
Definition xio_dir.h:20
std::string path
Definition xio_dir.h:19
Definition xio_patient.h:12
#define PLMBASE_API
Definition plmbase_config.h:19
int xio_dir_num_patients(Xio_dir *xd)
std::string xio_plan_dir_get_studyset_dir(const std::string &xtpd)
Definition xio_dir.cxx:192