* \brief Accesses an existing gdcmElValue 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
+ * \warning Use with extreme caution.
+ * @param length new length to substitute with
* @param group group of the ElVal to modify
* @param element element of the ElVal to modify
+ * @return 1 on success, 0 otherwise.
*/
-int gdcmHeader::SetPubElValLengthByNumber(guint32 lgr, guint16 group,
+int gdcmHeader::SetPubElValLengthByNumber(guint32 length, guint16 group,
guint16 element)
{
- return ( PubElVals.SetElValueLengthByNumber (lgr, group, element) );
+ return ( PubElVals.SetElValueLengthByNumber (length, group, element) );
}
/**
* @param content new value to substitute with
* @param group group of the ElVal to modify
* @param element element of the ElVal to modify
+ * @return 1 on success, 0 otherwise.
*/
int gdcmHeader::SetShaElValByNumber(string content,
guint16 group, guint16 element)