]> Creatis software - gdcm.git/blobdiff - src/gdcmDocument.h
* src/gdcmFile.[h|cxx] : add the Print method
[gdcm.git] / src / gdcmDocument.h
index 7e4e8d9901c6e5acb2151e3aa90c2737311df69c..6a5538aeddaba9c110faa72aa26be6fe0733d88c 100644 (file)
@@ -3,8 +3,8 @@
   Program:   gdcm
   Module:    $RCSfile: gdcmDocument.h,v $
   Language:  C++
-  Date:      $Date: 2004/11/26 10:55:04 $
-  Version:   $Revision: 1.66 $
+  Date:      $Date: 2004/12/16 11:37:02 $
+  Version:   $Revision: 1.69 $
  
   Copyright (c) CREATIS (Centre de Recherche et d'Applications en Traitement de
   l'Image). All rights reserved. See Doc/License.txt or
 #ifndef GDCMDOCUMENT_H
 #define GDCMDOCUMENT_H
 
-#include "gdcmCommon.h"
 #include "gdcmVR.h"
-#include "gdcmTS.h"
-#include "gdcmException.h"
-#include "gdcmDictSet.h"
-#include "gdcmDocEntry.h"
-#include "gdcmRLEFramesInfo.h"
-#include "gdcmJPEGFragmentsInfo.h"
-#include "gdcmDocEntrySet.h"
+#include "gdcmDict.h"
 #include "gdcmElementSet.h"
 
-class ValEntry;
-class BinEntry;
-class SeqEntry;
-
 #include <map>
 #include <list>
 #include <fstream>
 
 namespace gdcm 
 {
+class ValEntry;
+class BinEntry;
+class SeqEntry;
+class Dict;
+class RLEFramesInfo;
+class JPEGFragmentsInfo;
 
 enum TransferSyntaxType {
   ImplicitVRLittleEndian = 0,
@@ -121,10 +116,6 @@ protected:
    /// Store the JPEG fragments info obtained during parsing of pixels.
    JPEGFragmentsInfo* JPEGInfo;
 
-   /// \brief Amount of printed details for each Header Entry (Dicom Element):
-   /// 0 : stands for the least detail level.
-   int PrintLevel;
-   
 public:
 // the 2 following will be merged
    virtual void PrintPubDict (std::ostream &os = std::cout);
@@ -202,16 +193,6 @@ public:
                                  uint16_t group, uint16_t element);
    virtual bool SetEntryByNumber(uint8_t* content, int lgth,
                                  uint16_t group, uint16_t element);
-   // FIXME
-   // Verify the usefull of this method... otherwise remove it
-   // It's body is commented in the .xx
-   //virtual bool SetEntryLengthByNumber(uint32_t length,
-   //                                    uint16_t group, uint16_t element);
-
-   // FIXME
-   // Verify the usefull of this method... otherwise remove it
-   // It's body is commented in the .xx
-   // virtual size_t GetEntryOffsetByNumber(uint16_t group, uint16_t elem);
    virtual void* GetEntryBinAreaByNumber(uint16_t group, uint16_t elem);   
    // FIXME
    // Verify the usefull of this method... otherwise remove it
@@ -276,9 +257,6 @@ private:
    void HandleBrokenEndian(uint16_t  group, uint16_t  elem);
 public:
 // Accessors:
-   /// Accessor to \ref PrintLevel
-   void SetPrintLevel(int level) { PrintLevel = level; }
-
    /// Accessor to \ref Filename
    const std::string &GetFileName() const { return Filename; }
 
@@ -289,7 +267,6 @@ public:
    int GetSwapCode() { return SwapCode; }
    
    bool operator<(Document &document);
-
 };
 } // end namespace gdcm