Changeset 2657 in Sophya for trunk/SophyaLib/BaseTools/ppersist.cc
- Timestamp:
- Apr 5, 2005, 5:37:54 PM (20 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/SophyaLib/BaseTools/ppersist.cc
r2615 r2657 8 8 #include "anydataobj.h" 9 9 #include <iostream> 10 #include <iomanip> 10 11 #include <typeinfo> 11 12 … … 105 106 // class_typename should be typeid(DataObject).name(), to be 106 107 // used by POutPersist::PutDataObject() methods. 108 109 //! Lists the registered PPersist handler classes and the corresponding class id. 110 void 111 PIOPersist::ListPPHandlers() 112 { 113 cout << " PIOPersist::ListPPHandlers() - List of registered PPersist handler classes " << endl; 114 map<string, uint_8>::iterator it; 115 int k = 0; 116 for (it = (*ppclassNameList).begin(); it != (*ppclassNameList).end(); it++) { 117 cout << ++k << ": " << (*it).first << "\n" << " ClassId: Hex= " 118 << hex << (*it).second << " (Dec= " << dec << (*it).second << ")" << endl; 119 } 120 } 121 122 //! Lists the registered DataObj classes with the corresponding PPHandler name 123 void 124 PIOPersist::ListDataObjClasses() 125 { 126 cout << " PIOPersist::ListDataObjClasses() : Registered DataObj class list " << endl; 127 map<string, uint_8>::iterator it; 128 int k = 0; 129 for (it = (*dobjclassNameList).begin(); it != (*dobjclassNameList).end(); it++) { 130 cout << ++k << "- " << (*it).first << " -> " << getPPClassName((*it).second) << endl; 131 } 132 } 107 133 108 134 PIOPersist::ClassCreatorFunc
Note:
See TracChangeset
for help on using the changeset viewer.