- Timestamp:
- Apr 26, 2015, 4:16:49 PM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
code/branches/core7/src/libraries/core/class/Identifier.cc
r10400 r10403 221 221 222 222 /** 223 * Resets all information about the class hierarchy. The identifier is considered uninitialized afterwards. 224 */ 225 void Identifier::reset() 226 { 227 if (this->factory_ != NULL) // TODO: should reset ALL identifiers, but currently the calls to inheritsFrom<>() are not reproducible 228 this->directParents_.clear(); 229 this->parents_.clear(); 230 this->directChildren_.clear(); 231 this->children_.clear(); 232 this->bInitialized_ = false; 233 } 234 235 /** 223 236 * Verifies if the recorded trace of parent identifiers matches the expected trace according to the class hierarchy. If it doesn't match, the class 224 237 * hierarchy is likely wrong, e.g. due to wrong inheritsFrom<>() definitions in abstract classes.
Note: See TracChangeset
for help on using the changeset viewer.