GDCM
2.0.18
|
00001 /*========================================================================= 00002 00003 Program: GDCM (Grassroots DICOM). A DICOM library 00004 00005 Copyright (c) 2006-2011 Mathieu Malaterre 00006 All rights reserved. 00007 See Copyright.txt or http://gdcm.sourceforge.net/Copyright.html for details. 00008 00009 This software is distributed WITHOUT ANY WARRANTY; without even 00010 the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR 00011 PURPOSE. See the above copyright notice for more information. 00012 00013 =========================================================================*/ 00014 #ifndef GDCMDICTPRINTER_H 00015 #define GDCMDICTPRINTER_H 00016 00017 #include "gdcmPrinter.h" 00018 00019 namespace gdcm 00020 { 00021 00025 // It's a sink there is no output 00026 class GDCM_EXPORT DictPrinter : public Printer 00027 { 00028 public: 00029 DictPrinter(); 00030 ~DictPrinter(); 00031 00032 void Print(std::ostream& os); 00033 00034 protected: 00035 void PrintDataElement2(std::ostream& os, const DataSet &ds, const DataElement &ide); 00036 void PrintDataSet2(std::ostream& os, const DataSet &ds); 00037 }; 00038 00039 } // end namespace gdcm 00040 00041 #endif //GDCMDICTPRINTER_H