- void WriteContent( std::ofstream* fp, FileType type );
-
-// Content entries
- virtual bool SetEntryByName (std::string const & content,
- TagName const & tagName );
- virtual bool SetEntryByNumber(std::string const & content,
- uint16_t group, uint16_t element);
- virtual bool SetEntryByNumber(uint8_t* content, int lgth,
- uint16_t group, uint16_t element);
- virtual bool SetEntry(std::string const & content,ValEntry* entry);
- virtual bool SetEntry(uint8_t* content, int lgth,BinEntry* entry);
-
- virtual void* GetEntryBinAreaByNumber(uint16_t group, uint16_t elem);
-
- virtual std::string GetEntryByName (TagName const & tagName);
- virtual std::string GetEntryVRByName (TagName const & tagName);
- virtual std::string GetEntryByNumber (uint16_t group, uint16_t elem);
- virtual std::string GetEntryVRByNumber(uint16_t group, uint16_t elem);
- virtual int GetEntryLengthByNumber(uint16_t group, uint16_t elem);
-
- DocEntry* GetDocEntryByNumber(uint16_t group, uint16_t element);
- DocEntry* GetDocEntryByName (TagName const & tagName);
- ValEntry* GetValEntryByNumber(uint16_t group, uint16_t element);
- BinEntry* GetBinEntryByNumber(uint16_t group, uint16_t element);
-
- ValEntry* ReplaceOrCreateByNumber(std::string const & value,
- uint16_t group, uint16_t elem,
- TagName const & vr = GDCM_UNKNOWN);
- BinEntry* ReplaceOrCreateByNumber(uint8_t* binArea, int lgth,
- uint16_t group, uint16_t elem,
- TagName const & vr = GDCM_UNKNOWN);
- SeqEntry* ReplaceOrCreateByNumber(uint16_t group, uint16_t elem);
-
- bool ReplaceIfExistByNumber ( std::string const & value,
- uint16_t group, uint16_t elem );
-