DCMTK  Version 3.6.2
OFFIS DICOM Toolkit
Public Member Functions | List of all members
DcmJsonFormatCompact Class Reference

Subclass for handling JSON formatted output. More...

+ Inheritance diagram for DcmJsonFormatCompact:

Public Member Functions

 DcmJsonFormatCompact (const OFBool printMetaInfo=OFTrue)
 DcmJsonFormatCompact constructor. More...
 
void printIndention (STD_NAMESPACE ostream &out)
 Does nothing. More...
 
void increaseIndention ()
 Does nothing.
 
void decreaseIndention ()
 Does nothing.
 
OFString newline ()
 Does nothing. More...
 
OFString space ()
 Does nothing. More...
 
- Public Member Functions inherited from DcmJsonFormat
 DcmJsonFormat (const OFBool printMetaInfo)
 Constructor. 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...
 

Additional Inherited Members

- Static Public Member Functions inherited from DcmJsonFormat
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 normelized IntegerString. More...
 
static void printNumberDecimal (STD_NAMESPACE ostream &out, OFString &value)
 Print either null if empty or a Number as normelized IntegerDecimal. More...
 
- Public Attributes inherited from DcmJsonFormat
const OFBool printMetaheaderInformation
 Option that defines if metaheader information should be printed.
 

Detailed Description

Subclass for handling JSON formatted output.

Standard class for non-formatted output.

Constructor & Destructor Documentation

◆ DcmJsonFormatCompact()

DcmJsonFormatCompact::DcmJsonFormatCompact ( const OFBool  printMetaInfo = OFTrue)
explicit

DcmJsonFormatCompact constructor.

Parameters
printMetaInfoEnable/Disable including Metaheader in the output

Member Function Documentation

◆ newline()

OFString DcmJsonFormatCompact::newline ( )
virtual

Does nothing.

Returns
a empty String.

Implements DcmJsonFormat.

◆ printIndention()

void DcmJsonFormatCompact::printIndention ( STD_NAMESPACE ostream &  out)
virtual

Does nothing.

Parameters
outoutput stream to which the indention is written.

Implements DcmJsonFormat.

◆ space()

OFString DcmJsonFormatCompact::space ( )
virtual

Does nothing.

Returns
a empty String.

Implements DcmJsonFormat.


The documentation for this class was generated from the following file:


Generated on Mon Jul 17 2017 for DCMTK Version 3.6.2 by Doxygen 1.8.13