14 #ifndef GDCMDICOMDIRGENERATOR_H
15 #define GDCMDICOMDIRGENERATOR_H
25 class SequenceOfItems;
27 class DICOMDIRGeneratorInternal;
72 void SetDescriptor(
const char *d );
78 void SetFile(
const File& f);
83 bool AddPatientDirectoryRecord();
84 bool AddStudyDirectoryRecord();
85 bool AddSeriesDirectoryRecord();
86 bool AddImageDirectoryRecord();
89 const char *ComputeFileID(
const char *);
90 bool TraverseDirectoryRecords(
VL start );
92 unsigned int FindNextDirectoryRecord(
unsigned int item1,
const char *directorytype );
94 unsigned int FindLowerLevelDirectoryRecord(
unsigned int item1,
const char *directorytype );
95 typedef std::pair< std::string, Tag> MyPair;
96 MyPair GetReferenceValueForDirectoryType(
unsigned int item);
97 bool SeriesBelongToStudy(
const char *seriesuid,
const char *studyuid);
98 bool ImageBelongToSeries(
const char *sopuid,
const char *seriesuid,
Tag const &t1,
Tag const &t2);
99 bool ImageBelongToSameSeries(
const char *sopuid,
const char *seriesuid,
Tag const &t);
101 DICOMDIRGeneratorInternal * Internals;
111 #endif //GDCMDICOMDIRGENERATOR_H