DCMTK
Version 3.6.7
OFFIS DICOM Toolkit
|
A class to create small proxy objects that ease indention handling. More...
Public Member Functions | |
Indention & | operator++ () |
increases current indention. More... | |
Indention & | operator-- () |
decreases current indention More... | |
Private Member Functions | |
Indention (DcmJsonFormat &format) | |
private constructor, used by DcmJsonFormat More... | |
void | printIndention (STD_NAMESPACE ostream &out) const |
prints the current indention using the parent formatter More... | |
Private Attributes | |
DcmJsonFormat & | m_Format |
reference to the parent formatter object | |
Friends | |
class | DcmJsonFormat |
allow DcmJsonFormat to use this class' private members | |
STD_NAMESPACE ostream & | operator<< (STD_NAMESPACE ostream &out, const Indention &indention) |
output current indention to an output stream. More... | |
A class to create small proxy objects that ease indention handling.
Each Indention object only contains a reference to the DcmJsonFormat object that created it and its only purpose is to call the respective methods of that object when one of its overloaded operators is used.
|
inlineprivate |
private constructor, used by DcmJsonFormat
format | the format |
|
inline |
increases current indention.
|
inline |
decreases current indention
|
inlineprivate |
prints the current indention using the parent formatter
out | the stream to print to |
|
friend |
output current indention to an output stream.
out | the output stream to use |
indention | the indention to print |