2 //-----------------------------------------------------------------------------
3 #ifndef GDCMDOCENTRYSET_H
4 #define GDCMDOCENTRYSET_H
6 #include "gdcmException.h"
7 #include "gdcmDocEntry.h"
9 //-----------------------------------------------------------------------------
11 class GDCM_EXPORT gdcmDocEntrySet
16 gdcmDocEntrySet(int depth = 0);
17 ~gdcmDocEntrySet(void);
19 virtual bool AddEntry(gdcmDocEntry *Entry) = 0; // pure virtual
20 bool CheckEntryVR(gdcmDocEntry *Entry, std::string vr);
21 virtual void Print (std::ostream & os = std::cout) = 0;// pure virtual
23 inline int GetDepthLevel(void)
24 {return(SQDepthLevel);}
25 void SetDepthLevel(int depth)
26 {SQDepthLevel = depth;}
30 void gdcmDocEntrySet::FindDocEntryLength (gdcmDocEntry *Entry);
32 // DocEntry related utilities
34 virtual gdcmDocEntry *NewDocEntryByNumber(guint16 group,
35 guint16 element)=0; // pure virtual
36 virtual gdcmDocEntry *NewDocEntryByName (std::string Name)=0;// pure virtual
45 //-----------------------------------------------------------------------------