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,
/// 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);
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
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; }
int GetSwapCode() { return SwapCode; }
bool operator<(Document &document);
-
};
} // end namespace gdcm