-// $Header: /cvs/public/gdcm/src/Attic/gdcmElValSet.h,v 1.13 2003/05/21 16:26:28 regrain Exp $
+// $Header: /cvs/public/gdcm/src/Attic/gdcmElValSet.h,v 1.17 2003/10/02 11:26:15 malaterre Exp $
#ifndef GDCMELVALSET_H
#define GDCMELVALSET_H
-#include <stdio.h> // FIXME For FILE on GCC only
-#include <map>
#include "gdcmCommon.h"
#include "gdcmElValue.h"
+#include <stdio.h> // FIXME For FILE on GCC only
+#include <map>
+
////////////////////////////////////////////////////////////////////////////
// Container for a set of successfully parsed ElValues.
+
typedef std::map<TagKey, gdcmElValue*> TagElValueHT;
typedef std::map<std::string, gdcmElValue*> TagElValueNameHT;
typedef std::string GroupKey;
typedef std::map<GroupKey, int> GroupHT;
-
public:
~gdcmElValSet();
void Add(gdcmElValue*);
int SetElValueLengthByNumber(guint32 l, guint16 group, guint16 element);
int SetElValueLengthByName (guint32 l, std::string TagName);
+
+ int SetVoidAreaByNumber(void *a, guint16 Group, guint16 Elem );
guint32 GenerateFreeTagKeyInGroup(guint16 group);
+ int CheckIfExistByNumber(guint16 Group, guint16 Elem );
private:
void UpdateGroupLength(bool SkipSequence = false, FileType type = ImplicitVR);