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
//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
//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
//virtual std::string const &GetValue() const { return Value; }
/// \brief Returns the area value of the current Dicom Entry
//virtual std::string const &GetValue() const { return Value; }
/// \brief Returns the area value of the current Dicom Entry
uint8_t *GetBinArea() { return BinArea; }
void SetBinArea( uint8_t *area, bool self = true );
void CopyBinArea( uint8_t *area, uint32_t length );
uint8_t *GetBinArea() { return BinArea; }
void SetBinArea( uint8_t *area, bool self = true );
void CopyBinArea( uint8_t *area, uint32_t length );
bool IsSelfArea() { return SelfArea; }
///\brief values for current state of a DataEntry (internal use only)
bool IsSelfArea() { return SelfArea; }
///\brief values for current state of a DataEntry (internal use only)
/// \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
- /// \brief Entry status : STATE_NOTLOADED,STATE_UNFOUND, STATE_UNREAD, 0
+ /// \brief Entry status:STATE_NOTLOADED,STATE_UNFOUND,STATE_UNREAD,STATE_LOADED