|
| | DcmJsonFormatCompact (const OFBool printMetaInfo=OFTrue) |
| | DcmJsonFormatCompact constructor.
|
| |
| void | printIndention (STD_NAMESPACE ostream &out) |
| | Does nothing.
|
| |
|
void | increaseIndention () |
| | Does nothing.
|
| |
|
void | decreaseIndention () |
| | Does nothing.
|
| |
| OFString | newline () |
| | Does nothing.
|
| |
| OFString | space () |
| | Does nothing.
|
| |
| | DcmJsonFormat (const OFBool printMetaInfo) |
| | Constructor.
|
| |
|
virtual | ~DcmJsonFormat () |
| | Virtual destructor, does nothing.
|
| |
| Indention | indent () |
| | Method to return an indention proxy object for increasing, decreasing or printing indention.
|
| |
| virtual OFBool | asBulkDataURI (const DcmTagKey &tag, OFString &uri) |
| | Check if an attribute should be exported as BulkDataURI.
|
| |
| 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.
|
| |
| 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.
|
| |
| 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.
|
| |
| virtual void | printInlineBinaryPrefix (STD_NAMESPACE ostream &out) |
| | Print the Prefix which for JSON InlineBinary needed with indention and newlines as the format specifies.
|
| |
| 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.
|
| |
|
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.
|
| |
|
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.
|
| |
|
| enum | NumStringPolicy { NSP_auto
, NSP_always_number
, NSP_always_string
} |
| | an enumeration defining how to convert IS/DS elements to JSON More...
|
| |
| static void | escapeControlCharacters (STD_NAMESPACE ostream &out, OFString const &value) |
| | Escapes all forbidden control characters in JSON.
|
| |
| static void | normalizeDecimalString (OFString &value) |
| | Normalize Decimal String to specific JSON format.
|
| |
| static void | normalizeIntegerString (OFString &value) |
| | Normalize Integer String to specific JSON format.
|
| |
| static void | printString (STD_NAMESPACE ostream &out, const OFString &value) |
| | Prints either null if empty or the string value (with all illegal characters escaped).
|
| |
| 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).
|
| |
| static void | printNumberInteger (STD_NAMESPACE ostream &out, OFString &value) |
| | Print either null if empty or a Number as normalized IntegerString.
|
| |
| static void | printNumberDecimal (STD_NAMESPACE ostream &out, OFString &value) |
| | Print either null if empty or a Number as normalized IntegerDecimal.
|
| |
|
const OFBool | printMetaheaderInformation |
| | Option that defines if metaheader information should be printed.
|
| |
Subclass for handling JSON formatted output.
Standard class for non-formatted output.