Copyright (c) CREATIS (Centre de Recherche et d'Applications en Traitement de
l'Image). All rights reserved. See Doc/License.txt or
Copyright (c) CREATIS (Centre de Recherche et d'Applications en Traitement de
l'Image). All rights reserved. See Doc/License.txt or
- /// \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; }
uint8_t *GetBinArea() { return BinArea; }
void SetBinArea( uint8_t *area, bool self = true );
void CopyBinArea( uint8_t *area, uint32_t length );
void SetValue(const uint32_t &id,const double &val);
double GetValue(const uint32_t &id) const;
uint8_t *GetBinArea() { return BinArea; }
void SetBinArea( uint8_t *area, bool self = true );
void CopyBinArea( uint8_t *area, uint32_t length );
void SetValue(const uint32_t &id,const double &val);
double GetValue(const uint32_t &id) const;
/// \brief true when value Entry not loaded
bool IsNotLoaded() { return State == STATE_NOTLOADED; }
/// \brief true if Entry not found
/// \brief true when value Entry not loaded
bool IsNotLoaded() { return State == STATE_NOTLOADED; }
/// \brief true if Entry not found
/// \brief true if Entry not read
bool IsUnread() { return State == STATE_UNREAD; }
/// \brief true if Entry value properly loaded
/// \brief true if Entry not read
bool IsUnread() { return State == STATE_UNREAD; }
/// \brief true if Entry value properly loaded
/// \brief returns the 'pixel data flag'
const TValueFlag &GetFlag() const { return Flag; }
/// \brief true id Entry is a Pixel Data entry
/// \brief returns the 'pixel data flag'
const TValueFlag &GetFlag() const { return Flag; }
/// \brief true id Entry is a Pixel Data entry
/// \brief returns the size threshold above which an element value
/// will NOT be *printed* in order no to polute the screen output
static const uint32_t &GetMaxSizePrintEntry() { return MaxSizePrintEntry; }
/// \brief Header Elements too long will not be printed
/// \brief returns the size threshold above which an element value
/// will NOT be *printed* in order no to polute the screen output
static const uint32_t &GetMaxSizePrintEntry() { return MaxSizePrintEntry; }
/// \brief Header Elements too long will not be printed
- static void SetMaxSizePrintEntry(const uint32_t &size) { MaxSizePrintEntry = size; }
+ static void SetMaxSizePrintEntry(const uint32_t &size)
+ { MaxSizePrintEntry = size; }
+
+ bool GetDSValue(std::vector <double> &valueVector);
- /// \brief Entry status : STATE_NOTLOADED,STATE_UNFOUND, STATE_UNREAD, 0
+ /// \brief Entry status:STATE_NOTLOADED,STATE_UNFOUND,STATE_UNREAD,STATE_LOADED