-// $Header: /cvs/public/gdcm/src/Attic/gdcmHeader.h,v 1.28 2003/06/20 14:17:47 jpr Exp $
+// $Header: /cvs/public/gdcm/src/Attic/gdcmHeader.h,v 1.34 2003/07/07 10:26:14 regrain Exp $
#ifndef GDCMHEADER_H
#define GDCMHEADER_H
#include <map>
#include "gdcmCommon.h"
-#include "gdcmUtil.h"
+#include "gdcmVR.h"
+#include "gdcmTS.h"
#include "gdcmException.h"
#include "gdcmDictSet.h"
#include "gdcmElValue.h"
FileType filetype;
gdcmElValue * GetElValueByNumber(guint16 group, guint16 element);
+ int CheckIfExistByNumber(guint16 Group, guint16 Elem );
guint16 SwapShort(guint16); // needed by gdcmFile
guint32 SwapLong(guint32); // for JPEG Files :-(
gdcmHeader(const char *filename, bool exception_on_error = false);
gdcmHeader( bool exception_on_error = false);
virtual ~gdcmHeader();
+
+ std::string GetFileName(void) {return filename;}
size_t GetPixelOffset(void);
int GetSwapCode(void) { return sw; }
int SetPubElValByName (std::string content, std::string TagName);
int SetShaElValByName (std::string content, std::string ShadowTagName);
+
int SetPubElValByNumber(std::string content, guint16 group, guint16 element);
-
int SetShaElValByNumber(std::string content, guint16 group, guint16 element);
int SetPubElValLengthByNumber(guint32 lgr, guint16 group, guint16 element);
int ReplaceOrCreateByNumber(std::string Value, guint16 Group, guint16 Elem);
- int ReplaceOrCreateByNumber(char * Value, guint16 Group, guint16 Elem);
+ int ReplaceOrCreateByNumber( char * Value, guint16 Group, guint16 Elem);
int GetXSize(void);
int GetYSize(void);
int GetZSize(void);
int GetBitsStored(void);
int GetSamplesPerPixel(void);
+
+/* ================ COMMENT OUT after unfreeze
+ int GetPlanarConfiguration(void);
+ ======================================= */
+
int GetPixelSize(void);
std::string GetPixelType(void);