| 478 | //----------------------------------------------------------------------------- |
| 479 | |
| 480 | SimPersistID* SimObject::getOrCreatePersistentId() |
| 481 | { |
| 482 | if( !mPersistentId ) |
| 483 | { |
| 484 | mPersistentId = SimPersistID::create( this ); |
| 485 | mPersistentId->incRefCount(); |
| 486 | } |
| 487 | return mPersistentId; |
| 488 | } |
| 489 | |
| 490 | |
| 491 |
no test coverage detected