|
dcmtkpp
|
Write DICOM objects to a stream. More...
#include <Writer.h>
Public Types | |
| enum | ItemEncoding { ExplicitLength, UndefinedLength } |
| Encodings of sequence items. | |
Public Member Functions | |
| Writer (std::ostream &stream, int byte_ordering, bool explicit_vr, ItemEncoding item_encoding=ItemEncoding::ExplicitLength, bool use_group_length=false) | |
| Build a writer. | |
| Writer (std::ostream &stream, std::string const &transfer_syntax, ItemEncoding item_encoding=ItemEncoding::ExplicitLength, bool use_group_length=false) | |
| Build a writer, derive byte ordering and explicit-ness of VR from transfer syntax. | |
| void | write_data_set (DataSet const &data_set) const |
| Write a data set. | |
| void | write_tag (Tag const &tag) const |
| Write a tag. | |
| void | write_element (Element const &element) const |
| Write an element (VR, VL and value). | |
Static Public Member Functions | |
| static void | write_file (DataSet const &data_set, std::ostream &stream, std::string const &transfer_syntax, ItemEncoding item_encoding=ItemEncoding::ExplicitLength, bool use_group_length=false) |
| Write a file (meta-information and data set). | |
Public Attributes | |
| std::ostream & | stream |
| Output stream. | |
| int | byte_ordering |
| Endianness (LITTLE_ENDIAN or BIG_ENDIAN). | |
| bool | explicit_vr |
| Explicit-ness of the Value Representations. | |
| ItemEncoding | item_encoding |
| Encoding of sequence items. | |
| bool | use_group_length |
| Presence of group length elements. | |
Write DICOM objects to a stream.
1.8.9.1