Program: gdcm
Module: $RCSfile: gdcmDataEntry.cxx,v $
Language: C++
- Date: $Date: 2005/12/23 10:26:41 $
- Version: $Revision: 1.27 $
+ Date: $Date: 2006/01/20 09:17:25 $
+ Version: $Revision: 1.28 $
Copyright (c) CREATIS (Centre de Recherche et d'Applications en Traitement de
l'Image). All rights reserved. See Doc/License.txt or
//-----------------------------------------------------------------------------
// Public
/**
- * \brief Sets the value (non string) of the current Dicom Header Entry
+ * \brief Sets the value (non string) of the current DataEntry
* @param area area
* @param self self
*/
State = STATE_LOADED;
}
/**
- * \brief Inserts the value (non string) into the current Dicom Header Entry
+ * \brief Inserts the value (non string) into the current DataEntry
* @param area area
* @param length length
*/
}
/**
- * \brief Inserts the value (non string) into the current Dicom Header Entry
- * @param id id
- * @param val val
+ * \brief Inserts the elementary (non string) value into the current DataEntry
+ * @param id index of the elementary value to be set
+ * @param val value, passed as a double
*/
void DataEntry::SetValue(const uint32_t &id, const double &val)
{
return GetLength();
}
/**
- * \brief Sets the 'value' of an Entry, passed as a std::string
+ * \brief Sets the 'value' of a DataEntry, passed as a std::string
* @param value string representation of the value to be set
*/
void DataEntry::SetString(std::string const &value)
Program: gdcm
Module: $RCSfile: gdcmDataEntry.h,v $
Language: C++
- Date: $Date: 2005/11/29 12:48:45 $
- Version: $Revision: 1.11 $
+ Date: $Date: 2006/01/20 09:17:25 $
+ Version: $Revision: 1.12 $
Copyright (c) CREATIS (Centre de Recherche et d'Applications en Traitement de
l'Image). All rights reserved. See Doc/License.txt or
// Set/Get data
// Sets the value (string) of the current Dicom entry
//virtual void SetValue(std::string const &val);
- /// \brief Returns the 'Value' (e.g. "Dupond^Marcel") converted
- /// into a 'string', event if it's physically stored on disk as an integer
- /// (e.g. : 0x000c returned as "12")
- //virtual std::string const &GetValue() const { return Value; }
/// \brief Returns the area value of the current Dicom Entry
/// when it's not string-translatable (e.g : LUT table, overlay, icon)