Public Types | Public Member Functions | Protected Member Functions | Protected Attributes

gdcm::XMLPrinter Class Reference

#include <gdcmXMLPrinter.h>

Collaboration diagram for gdcm::XMLPrinter:
Collaboration graph

List of all members.

Public Types

enum  PrintStyles {
  OnlyUUID = 0,

Public Member Functions

 XMLPrinter ()
 ~XMLPrinter ()
PrintStyles GetPrintStyle () const
virtual void HandleBulkData (const char *uuid, const TransferSyntax &ts, const char *bulkdata, size_t bulklen)
void Print (std::ostream &os)
void PrintDataSet (const DataSet &ds, const TransferSyntax &ts, std::ostream &os)
void SetFile (File const &f)
void SetStyle (PrintStyles ps)

Protected Member Functions

VR PrintDataElement (std::ostream &os, const Dicts &dicts, const DataSet &ds, const DataElement &de, const TransferSyntax &ts)
void PrintSQ (const SequenceOfItems *sqi, const TransferSyntax &ts, std::ostream &os)

Protected Attributes

const FileF
PrintStyles PrintStyle

Member Enumeration Documentation


Constructor & Destructor Documentation

gdcm::XMLPrinter::XMLPrinter (  ) 
gdcm::XMLPrinter::~XMLPrinter (  ) 

Member Function Documentation

PrintStyles gdcm::XMLPrinter::GetPrintStyle (  )  const [inline]
virtual void gdcm::XMLPrinter::HandleBulkData ( const char *  uuid,
const TransferSyntax ts,
const char *  bulkdata,
size_t  bulklen 
) [virtual]

Virtual function mecanism to allow application programmer to override the default mecanism for BulkData handling. By default GDCM will simply discard the BulkData and only write the UUID

void gdcm::XMLPrinter::Print ( std::ostream &  os  ) 
VR gdcm::XMLPrinter::PrintDataElement ( std::ostream &  os,
const Dicts dicts,
const DataSet ds,
const DataElement de,
const TransferSyntax ts 
) [protected]
void gdcm::XMLPrinter::PrintDataSet ( const DataSet ds,
const TransferSyntax ts,
std::ostream &  os 
void gdcm::XMLPrinter::PrintSQ ( const SequenceOfItems sqi,
const TransferSyntax ts,
std::ostream &  os 
) [protected]
void gdcm::XMLPrinter::SetFile ( File const &  f  )  [inline]
void gdcm::XMLPrinter::SetStyle ( PrintStyles  ps  )  [inline]

Member Data Documentation

const File* gdcm::XMLPrinter::F [protected]

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

Generated on Mon Jul 29 2013 11:24:38 for GDCM by doxygen 1.7.1 Logo