1 #ifndef __creaImageIODicomDatabaseStructure_h_INCLUDED__
2 #define __creaImageIODicomDatabaseStructure_h_INCLUDED__
4 #include <creaImageIODicomNode.h>
9 struct DicomDatabaseStructure
11 /// The minimum DicomNode::Type value. Used to iterate over tables
12 static int TableBegin();
13 /// The maximum DicomNode::Type value. Used to iterate over tables
14 static int TableEnd();
15 /// Returns the name of the SQL table associated to a certain DicomNode::Type
16 static const char* Table(DicomNode::Type);
18 static int NbMandatoryFields(DicomNode::Type);
19 static const Field::Description& MandatoryField(DicomNode::Type,int);
21 static int NbDefaultFields(DicomNode::Type);
22 static const Field::Description& DefaultField(DicomNode::Type,int);
24 static int NbQueryFields(DicomNode::Type);
25 static const Field::Description& QueryField(DicomNode::Type,int);
29 } // namespace creaImageIO
31 #endif // #ifndef __creaImageIODicomDatabaseStructure_h_INCLUDED__