MeVisLabToolboxReference
|
00001 //---------------------------------------------------------------------------------- 00002 // **InsertLicense** code 00003 //---------------------------------------------------------------------------------- 00005 00010 //---------------------------------------------------------------------------------- 00011 #ifndef CLASS_DCMTREE_DUMP 00012 #define CLASS_DCMTREE_DUMP 00013 00014 #include "DCMTree_Writer.h" 00015 #include "DCMTree_Defines.h" 00016 00035 namespace DCMTree 00036 { 00037 class DCMTREE_EXPORT Dump:public Writer 00038 { 00039 public: 00041 Dump (DictPtr dict); 00042 00044 virtual ~Dump(); 00045 00049 virtual void write (IOParameterPtr parameter,MessagePtr towrite); 00050 00051 private: 00055 static std::string indentstr (unsigned int level); 00056 00060 void Write (std::ostream &stream,TreePtr towrite,unsigned indent); 00061 }; 00062 } 00063 00064 #endif 00065 00066