|
| | 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.
|
| |
| virtual OFString | newline ()=0 |
| | Method to return line break(s) More...
|
| |
| virtual OFString | space ()=0 |
| | Method to return whitespace(s) More...
|
| |
| Indention | indent () |
| | Method to return an indention proxy object for increasing, decreasing or printing indention. More...
|
| |
| virtual OFBool | asBulkDataURI (const DcmTagKey &tag, OFString &uri) |
| | Check if an attribute should be exported as BulkDataURI. 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...
|
| |
|
| static void | escapeControlCharacters (STD_NAMESPACE ostream &out, OFString const &value) |
| | Escapes all forbidden control characters in JSON. More...
|
| |
| static void | normalizeDecimalString (OFString &value) |
| | Normalize Decimal String to specific JSON format. More...
|
| |
| static void | normalizeIntegerString (OFString &value) |
| | Normalize Integer String to specific JSON format. More...
|
| |
| static void | printString (STD_NAMESPACE ostream &out, const OFString &value) |
| | Prints either null if empty or the string value (with all illegal characters escaped). More...
|
| |
| static void | printValueString (STD_NAMESPACE ostream &out, const OFString &value) |
| | Prints either null if empty or a quoted string (with leading and ending quotation marks and all illegal characters escaped). More...
|
| |
| static void | printNumberInteger (STD_NAMESPACE ostream &out, OFString &value) |
| | Print either null if empty or a Number as normalized IntegerString. More...
|
| |
| static void | printNumberDecimal (STD_NAMESPACE ostream &out, OFString &value) |
| | Print either null if empty or a Number as normalized IntegerDecimal. More...
|
| |
|
const OFBool | printMetaheaderInformation |
| | Option that defines if metaheader information should be printed.
|
| |
| virtual void | printIndention (STD_NAMESPACE ostream &out)=0 |
| | Indent to the specific level. More...
|
| |
|
virtual void | increaseIndention ()=0 |
| | Used for increasing the indention level.
|
| |
|
virtual void | decreaseIndention ()=0 |
| | Used for decreasing the indention level.
|
| |
Subclass for handling JSON formatted output.
Standard class for formatted output.