improving DIMSE_createFilestream
Moderator: Moderator Team
-
- Posts: 9
- Joined: Thu, 2006-03-02, 08:46
improving DIMSE_createFilestream
I am running into a situation where in DIMSE_createFilestream, I need the creation of DcmOutputFileStream to be seperate from writing the metaheader. Specifically I want to use DcmOutputFileStream created from a FILE*. Now currently DcmOutputFileStream already supports that. But since DIMSE_createFilestream creates DcmOutputFileStream from a filename, there's no way to actually specify a FILE*. Right now, I am just using a modified DIMSE_createFilestream replacing filename with a handle, but I think something more modular is better? May be refactor DIMSE_createFilestream to be two parts (DcmOutputFileStream creation, and metaheader writing), and then rewrite DIMSE_createFilestream to use those two parts so this isn't a breaking change. Finally expose the metaheader writing function public like, DIMSE_writeMetaheader. Thoughts?
-
- OFFIS DICOM Team
- Posts: 1444
- Joined: Tue, 2004-11-02, 17:22
- Location: Oldenburg, Germany
- Contact:
Re: improving DIMSE_createFilestream
Thanks for the suggestion. I have put that as a feature request http://support.dcmtk.org/redmine/issues/791 into our bugtracker.
However, this will not likely be implemented soon.
However, this will not likely be implemented soon.
Who is online
Users browsing this forum: Bing [Bot], Google [Bot] and 1 guest