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/27 10:01:33 $
+ Version: $Revision: 1.29 $
Copyright (c) CREATIS (Centre de Recherche et d'Applications en Traitement de
l'Image). All rights reserved. See Doc/License.txt or
#include <fstream>
+#if defined(__BORLANDC__)
+ #include <mem.h> // for memcpy
+ #include <stdlib.h> // for atof
+ #include <ctype.h> // for isdigit
+#endif
+
namespace gdcm
{
//-----------------------------------------------------------------------------
//-----------------------------------------------------------------------------
// 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)