GDCM
2.2.0
|
#include <gdcmPrinter.h>
Public Types | |
enum | PrintStyles { VERBOSE_STYLE = 0, CONDENSED_STYLE, XML } |
Public Member Functions | |
Printer () | |
~Printer () | |
PrintStyles | GetPrintStyle () const |
Get PrintStyle value. | |
void | Print (std::ostream &os) |
Print. | |
void | PrintDataSet (const DataSet &ds, std::ostream &os, const std::string &s="") |
Print an individual dataset. | |
void | SetColor (bool c) |
Set color mode or not. | |
void | SetFile (File const &f) |
Set file. | |
void | SetStyle (PrintStyles ps) |
Set PrintStyle value. | |
Protected Member Functions | |
VR | PrintDataElement (std::ostringstream &os, const Dicts &dicts, const DataSet &ds, const DataElement &de, std::ostream &out, std::string const &indent) |
void | PrintSQ (const SequenceOfItems *sqi, std::ostream &os, std::string const &indent) |
Protected Attributes | |
const File * | F |
VL | MaxPrintLength |
PrintStyles | PrintStyle |
Printer class.
PrintStyles gdcm::Printer::GetPrintStyle | ( | ) | const [inline] |
Get PrintStyle value.
void gdcm::Printer::Print | ( | std::ostream & | os | ) |
Print.
Reimplemented in gdcm::DictPrinter.
VR gdcm::Printer::PrintDataElement | ( | std::ostringstream & | os, |
const Dicts & | dicts, | ||
const DataSet & | ds, | ||
const DataElement & | de, | ||
std::ostream & | out, | ||
std::string const & | indent | ||
) | [protected] |
void gdcm::Printer::PrintDataSet | ( | const DataSet & | ds, |
std::ostream & | os, | ||
const std::string & | s = "" |
||
) |
Print an individual dataset.
void gdcm::Printer::PrintSQ | ( | const SequenceOfItems * | sqi, |
std::ostream & | os, | ||
std::string const & | indent | ||
) | [protected] |
void gdcm::Printer::SetColor | ( | bool | c | ) |
Set color mode or not.
void gdcm::Printer::SetFile | ( | File const & | f | ) | [inline] |
Set file.
void gdcm::Printer::SetStyle | ( | PrintStyles | ps | ) | [inline] |
Set PrintStyle value.
const File* gdcm::Printer::F [protected] |
VL gdcm::Printer::MaxPrintLength [protected] |
PrintStyles gdcm::Printer::PrintStyle [protected] |