]> Creatis software - gdcm.git/blobdiff - src/gdcmObject.h
Temporary (?) uncomment of method gdcmElementSet::GetEntry()
[gdcm.git] / src / gdcmObject.h
index 92a10313c7dccbde1c721423c97054d11c470374..04363a85a1341179f5ad7e47df3f824b1f848278 100644 (file)
@@ -3,8 +3,8 @@
   Program:   gdcm
   Module:    $RCSfile: gdcmObject.h,v $
   Language:  C++
-  Date:      $Date: 2004/06/20 18:08:48 $
-  Version:   $Revision: 1.17 $
+  Date:      $Date: 2004/08/26 15:29:53 $
+  Version:   $Revision: 1.19 $
                                                                                 
   Copyright (c) CREATIS (Centre de Recherche et d'Applications en Traitement de
   l'Image). All rights reserved. See Doc/License.txt or
@@ -40,28 +40,26 @@ class GDCM_EXPORT gdcmObject : public gdcmSQItem
 {
 public:
 
+   gdcmObject(TagDocEntryHT *ptagHT, int depth = 0);
+   virtual ~gdcmObject();
    /**
     * \brief   Sets the print level for the Dicom Header 
     * \note    0 for Light Print; 1 for 'medium' Print, 2 for Heavy
     */
-   void SetPrintLevel(int level) 
-      { printLevel = level; };
+   void SetPrintLevel(int level) { PrintLevel = level; };
    
-   TagDocEntryHT GetEntry(void);
+   TagDocEntryHT GetEntry();
    void FillObject(std::list<gdcmElement> elemList);
 
 protected:
 
    // Constructor and destructor are protected to avoid end user to
-   // instanciate from this class.
-   gdcmObject(TagDocEntryHT *ptagHT, int depth = 0);
-   virtual ~gdcmObject(void);
+   // instanciate from this class. 
+   // NO ! gdcmDicomDir needs to instanciate it!
 
 // Members :
    ///\brief detail level to be printed 
-   int printLevel;
-
-private:
+   int PrintLevel;
 };
 
 //-----------------------------------------------------------------------------