Changeset 4051 in Sophya for trunk/SophyaLib/BaseTools/ppersist.cc
- Timestamp:
- Feb 25, 2012, 10:40:10 PM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/SophyaLib/BaseTools/ppersist.cc
r3426 r4051 167 167 } 168 168 169 //! Return true if the specified PPersist class is found in the registered class list 170 bool 171 PIOPersist::checkPPClassId(PPersist const & ppo) 172 { 173 string typ_name = typeid(ppo).name() ; 174 map<string, uint_8>::iterator i = ppclassNameList->find(typ_name); 175 if (i == ppclassNameList->end()) return false; 176 return true; 177 } 169 178 170 179 //! Returns the PPersist class name for the specified classId
Note:
See TracChangeset
for help on using the changeset viewer.