- void WriteContent( std::ofstream *fp, FileType type );
-
-// Content entries
-
-// Oops ! Python is gonna cry :
-// 4 methods with same name and different parameters ...
-// Only C++ is aware!
-
- virtual bool SetEntryValue(std::string const &content,
- uint16_t group, uint16_t elem);
- virtual bool SetEntryBinArea(uint8_t *content, int lgth,
- uint16_t group, uint16_t elem);
- virtual bool SetEntryValue(std::string const &content, ValEntry *entry);
- virtual bool SetEntryBinArea(uint8_t *content, int lgth, BinEntry *entry);
-
- virtual void *GetEntryBinArea(uint16_t group, uint16_t elem);
-
- virtual std::string GetEntryVR(uint16_t group, uint16_t elem);
- virtual int GetEntryLength(uint16_t group, uint16_t elem);
-
- ValEntry *Insert(std::string const &value,
- uint16_t group, uint16_t elem,
- TagName const &vr = GDCM_UNKNOWN);
- BinEntry *Insert(uint8_t *binArea, int lgth,
- uint16_t group, uint16_t elem,
- TagName const &vr = GDCM_UNKNOWN);
- SeqEntry *Insert(uint16_t group, uint16_t elem);