]> Creatis software - gdcm.git/blob - src/gdcmObject.h
NEW : gdcmDICOMDIR, gdcmPatient, gdcmStudy, gdcmSequence and gdcmImage objects.
[gdcm.git] / src / gdcmObject.h
1 // gdcmObject.h
2 //-----------------------------------------------------------------------------
3 #ifndef GDCMOBJECT_H
4 #define GDCMOBJECT_H
5
6 #include <string>
7 #include <list>
8 #include "gdcmCommon.h"
9
10
11 //-----------------------------------------------------------------------------
12
13 typedef std::list<std::string> lstring;
14
15 //-----------------------------------------------------------------------------
16
17 class gdcmObject {
18 public:
19
20    virtual std::string GetEntryByNumber(guint16 group, guint16 element)=0;
21    virtual std::string GetEntryByName(TagName name)=0;
22
23 protected:
24
25    //to modify (I don't know the list type) : both iterators (beginning and end)
26    lstring::iterator beginIter;
27    lstring::iterator endIter;
28
29    //pointer to the data list
30    lstring *objectData;
31
32 };
33
34 //-----------------------------------------------------------------------------
35 #endif