28 #ifndef __creaImageIOoutputModel_h_INCLUDED__
29 #define __creaImageIOoutputModel_h_INCLUDED__
30 #if defined (USE_XERCES)
31 #include <creaImageIOOutputModelParser.h>
33 #if defined(USE_GDCM2)
34 #include <gdcmScanner.h>
40 #define OUTPUTMODEL_TAG_i ""
41 #define OUTPUTMODEL_TAG_0 "TAG_BEGIN"
42 #define OUTPUTMODEL_TAG_1 "TAG_END"
43 #define OUTPUTMODEL_TAG_2 "TAG_STEP"
44 #define OUTPUTMODEL_TAG_3 "DICOM_TAG"
45 #define OUTPUTMODEL_TAG_4 "ANCHOR"
46 #define OUTPUTMODEL_TAG(i) OUTPUTMODEL_TAG_ ## i
58 #if defined(USE_XERCES)
62 void setDB(
const std::string i_db,
const std::string i_table);
64 const std::string getTag();
68 OutputModelParser *m_outparser;
89 double orderFiles(std::vector<std::string> im, std::vector<std::string> &out);
92 #if defined(USE_GDCM2)
96 void getScanValues(
const std::vector<std :: string> i_filenames,
const std::string i_stag, std::map<std::string,T> &o_val);
123 void getValues(
const std::vector<std::string> i_filenames,
const std::string i_tag, std::map< std::string, T> &o_val);
125 void getDBValues(
const std::vector<std::string> i_filenames,
const std::string i_stag, std::map<std::string,T> &o_val);
127 void sort(
const std::vector<std::string> i_filenames, std::vector<std::string> &o_sort,
int level);
129 bool checkModel(std::map<std::string, std::string> i_model,
const std::string i_val);
166 #endif //__creaImageIOoutputModel_h_INCLUDED__