]> Creatis software - gdcm.git/blobdiff - src/gdcmHeader.cxx
declaration de dcm2acr
[gdcm.git] / src / gdcmHeader.cxx
index cfa470a3cc374fb748e1632dddc93b345c9947a4..38763a3af7dac7d28fc142e18dc93dc45f674a74 100644 (file)
@@ -1277,6 +1277,22 @@ int gdcmHeader::SetPubElValByName(string content, string TagName) {
    return (  PubElVals.SetElValueByName (content, TagName) );
 }
 
+/**
+ * \ingroup gdcmHeader
+ * \brief   Accesses an existing ElValue in the PubElVals of this instance
+ *          through it's (group, element) and modifies it's length with
+ *          the given value.
+ *             NOT FOR BOZOs !
+ * @param   contents new length to substitute with
+ * @param   group   group of the ElVal to modify
+ * @param   element element of the ElVal to modify
+ */
+int gdcmHeader::SetPubElValLengthByNumber(guint32 lgr, guint16 group,
+                                    guint16 element)
+{
+       return (  PubElVals.SetElValueLengthByNumber (lgr, group, element) );
+}
+
 /**
  * \ingroup gdcmHeader
  * \brief   Accesses an existing ElValue in the ShaElVals of this instance
@@ -1292,6 +1308,9 @@ int gdcmHeader::SetShaElValByNumber(string content,
    return (  ShaElVals.SetElValueByNumber (content, group, element) );
 }
 
+
+
+
 /**
  * \ingroup gdcmHeader
  * \brief   Accesses an existing ElValue in the ShaElVals of this instance