| 428 | //----------------------------------------------------------------------------- |
| 429 | |
| 430 | SimPersistID* SimObject::getOrCreatePersistentId() |
| 431 | { |
| 432 | if( !mPersistentId ) |
| 433 | { |
| 434 | mPersistentId = SimPersistID::create( this ); |
| 435 | mPersistentId->incRefCount(); |
| 436 | } |
| 437 | return mPersistentId; |
| 438 | } |
| 439 | |
| 440 | |
| 441 |
no test coverage detected