|
| | DcmJsonFormatPretty (const OFBool printMetaInfo=OFTrue) |
| | DcmJsonFormatPretty constructor. More...
|
| |
| void | printIndention (STD_NAMESPACE ostream &out) |
| | Indent to the specific level. More...
|
| |
|
void | increaseIndention () |
| | Increase the indention level.
|
| |
|
void | decreaseIndention () |
| | Decrease the indention level.
|
| |
| OFString | newline () |
| | Print a newline. More...
|
| |
| OFString | space () |
| | Print a space. More...
|
| |
| | DcmJsonFormat (const OFBool printMetaInfo) |
| | Constructor. More...
|
| |
|
virtual | ~DcmJsonFormat () |
| | Virtual destructor, does nothing.
|
| |
| Indention | indent () |
| | Method to return an indention proxy object for increasing, decreasing or printing indention. More...
|
| |
| virtual OFBool | asBulkDataURI (const DcmTagKey &tag, Uint32 len) const |
| | Check if an attribute should be exported as BulkDataURI. More...
|
| |
| virtual void | getBulkDataDirectory (OFString &directory) const |
| | return path of bulk data directory More...
|
| |
| virtual void | getBulkDataURIPrefix (OFString &prefix) const |
| | return the current bulk data URI prefix More...
|
| |
| virtual void | printValuePrefix (STD_NAMESPACE ostream &out) |
| | Print the Prefix which for JSON Values needed with indention and newlines as in the format Variable given. More...
|
| |
| virtual void | printValueSuffix (STD_NAMESPACE ostream &out) |
| | Print the Suffix which for JSON Values needed with indention and newlines as in the format Variable given. More...
|
| |
| virtual void | printBulkDataURIPrefix (STD_NAMESPACE ostream &out) |
| | Print the Prefix which for JSON BulkDataURI needed with indention and newlines as in the format Variable given. More...
|
| |
| virtual void | printInlineBinaryPrefix (STD_NAMESPACE ostream &out) |
| | Print the Prefix which for JSON InlineBinary needed with indention and newlines as the format specifies. More...
|
| |
| virtual void | printNextArrayElementPrefix (STD_NAMESPACE ostream &out) |
| | Print the prefix for array elements (except the first one), with indention and newlines as the format specifies. More...
|
| |
|
virtual OFBool | getJsonExtensionEnabled () const |
| | return the flag indicating whether extended JSON number encoding is enabled.
|
| |
| virtual void | setJsonExtensionEnabled (OFBool enabled) |
| | set the flag indicating whether extended JSON number encoding is enabled. More...
|
| |
|
virtual NumStringPolicy | getJsonNumStringPolicy () const |
| | return the flag defining how IS/DS elements should be converted to JSON.
|
| |
| virtual void | setJsonNumStringPolicy (NumStringPolicy policy) |
| | set the flag defining how IS/DS elements should be converted to JSON. More...
|
| |
| virtual void | setMinBulkSize (ssize_t min_bulk_size) |
| | set the minimum size of binary attributes stored as bulk data. More...
|
| |
| virtual void | setBulkURIPrefix (const char *bulk_uri_prefix) |
| | set the prefix for URIs generated for bulk data More...
|
| |
| virtual void | setBulkDir (const char *bulk_dir) |
| | set the directory to which bulk data files should be written More...
|
| |
| virtual OFCondition | writeBulkData (STD_NAMESPACE ostream &out, const DcmTagKey &tagkey, Uint32 len, Uint8 *byteValues, const char *extension=".bin") |
| | write an attribute as BulkDataURI. More...
|
| |
| virtual OFCondition | writeBinaryAttribute (STD_NAMESPACE ostream &out, const DcmTagKey &tagkey, Uint32 len, Uint8 *byteValues, const char *extension=".bin") |
| | write a binary attribute either as InlineBinary or as BulkDataURI. More...
|
| |
Subclass for handling JSON formatted output.
Standard class for formatted output.