]> Creatis software - gdcm.git/blobdiff - src/gdcmObject.h
in ordrer to display the *stored* length when xxx.Print()
[gdcm.git] / src / gdcmObject.h
index f2f65c064ec6212ac2ad95a4a8a2711bf113da52..77c2aab19db24f81dc3f3c33d2ed84aa49a59499 100644 (file)
@@ -6,29 +6,23 @@
 #include <string>
 #include <list>
 #include "gdcmCommon.h"
-
+#include "gdcmHeaderEntry.h"
+#include "gdcmParser.h"
 
 //-----------------------------------------------------------------------------
-
-typedef std::list<std::string> lstring;
+class gdcmObject;
+typedef std::list<gdcmObject *> ListContent;
 
 //-----------------------------------------------------------------------------
-
 class gdcmObject {
 public:
+   std::string GetEntryByNumber(guint16 group, guint16 element);
+   std::string GetEntryByName(TagName name);
 
-   virtual std::string GetEntryByNumber(guint16 group, guint16 element)=0;
-   virtual std::string GetEntryByName(TagName name)=0;
-
+   ListTag::iterator beginObj;
+   ListTag::iterator endObj;
+   
 protected:
-
-   //to modify (I don't know the list type) : both iterators (beginning and end)
-   lstring::iterator beginIter;
-   lstring::iterator endIter;
-
-   //pointer to the data list
-   lstring *objectData;
-
 };
 
 //-----------------------------------------------------------------------------